home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 15: Shareware / PC Actual CDT 15.iso / files / Windows_95_98 / Internet / Redes / Winproxy30.exe / i / _SETUP.1 / Oemsetnt.inf < prev    next >
Encoding:
INI File  |  1999-08-02  |  64.0 KB  |  2,063 lines

  1. [O0OOOO0OOO]
  2. 00OOOO0OOO = NetService
  3. [OO0OOO0OOO]
  4. ENG
  5. [0O0OOO0OOO]
  6. DNE
  7. [O00OOO0OOO]
  8. 000OOO0OOO = "DeterministicNetworks"
  9. OOO0OO0OOO = "1"
  10. 0OO0OO0OOO = "11"
  11. O0O0OO0OOO = $(OOO0OO0OOO)"."$(0OO0OO0OOO)
  12. 00O0OO0OOO = "NdisWedge"
  13. OO00OO0OOO = "NdisWedgeTransport"
  14. 0O00OO0OOO = "NdisWedgeMac"
  15. O000OO0OOO = "NdisLan"
  16. 0000OO0OOO = "NdisWan"
  17. OOOO0O0OOO = "dne.sys"
  18. 0OOO0O0OOO = "\SystemRoot\System32\drivers\"$(OOOO0O0OOO)
  19. O0OO0O0OOO = "transport"
  20. 00OO0O0OOO = "kernel"
  21. OO0O0O0OOO = "NDISWAN"
  22. 0O0O0O0OOO = "driver"
  23. O00O0O0OOO = "kernelautostart"
  24. 000O0O0OOO = "NDISWAN"
  25. OOO00O0OOO = "service"
  26. 0OO00O0OOO = "kernel"
  27. O0O00O0OOO = "NDISWAN"
  28. 00O00O0OOO = "132" 
  29. OO000O0OOO = ndisDriver
  30. 0O000O0OOO = ndisWanAdapterDialIn
  31. O0000O0OOO = ndisWanAdapterDialOut
  32. 00000O0OOO = ndisWanAdapterDialInIP
  33. OOOOO00OOO = ndisWanAdapterDialOutIP
  34. 0OOOO00OOO = ndisWanAdapterDialInOutIPX
  35. O0OOO00OOO = ndisWedgeAdapter
  36. 00OOO00OOO = dialInWedgeAdapter
  37. OO0OO00OOO = dialOutWedgeAdapter
  38. 0O0OO00OOO = dialInIPWedgeAdapter
  39. O00OO00OOO = dialOutIPWedgeAdapter
  40. 000OO00OOO = dialInOutIPXWedgeAdapter
  41. OOO0O00OOO = NdisWanDialin
  42. 0OO0O00OOO = NdisWanDialout
  43. O0O0O00OOO = NdisWanDialinIp
  44. 00O0O00OOO = NdisWanDialoutIp
  45. OO00O00OOO = NdisWanDialinoutIpx
  46. 0O00O00OOO = "ndisWedgeTransport ndisWedgeTransport"
  47. O000O00OOO = """NdisWedgeTransport"" yes yes container"
  48. 0000O00OOO = {"ndisWedgeTransport basic"}
  49. OOOO000OOO = $(O0OO0O0OOO)" no no"
  50. 0OOO000OOO = "NdisWedgeMac ndisWedgeMac ndisWedgeDriver"
  51. O0OO000OOO = """NdisWedgeMac"" yes no container"
  52. 00OO000OOO = {"ndisWedgeDriver basic","ndisWedgeMac basic"}
  53. OO0O000OOO = $(0O0O0O0OOO)" no no"
  54. 0O0O000OOO = {"ndisWedgeDriver "$(00OOO00OOO)" non non 100",+
  55. "ndisWedgeDriver "$(OO0OO00OOO)" non non 100",+
  56. "ndisWedgeDriver "$(0O0OO00OOO)" non non 100",+
  57. "ndisWedgeDriver "$(O00OO00OOO)" non non 100",+
  58. "ndisWedgeDriver "$(000OO00OOO)" non non 100",+
  59. "ndisWedgeDriver "$(O0OOO00OOO)" non non 100",+
  60. "ndisWedgeTransport "$(OO000O0OOO)" non non 100"}
  61. O00O000OOO = "NdisWedgeAdapter "$(O0OOO00OOO)
  62. 000O000OOO = " yes yes container"
  63. OOO0000OOO = {$(O0OOO00OOO)" basic"}
  64. 0OO0000OOO = "DialInWedgeAdapter "$(00OOO00OOO)
  65. O0O0000OOO = " yes yes container"
  66. 00O0000OOO = {$(00OOO00OOO)" basic"}
  67. OO00000OOO = "DialOutWedgeAdapter "$(OO0OO00OOO)
  68. 0O00000OOO = " yes yes container"
  69. O000000OOO = {$(OO0OO00OOO)" basic"}
  70. 0000000OOO = "DialInIPWedgeAdapter "$(0O0OO00OOO)
  71. OOOOOOO0OO = " yes yes container"
  72. 0OOOOOO0OO = {$(0O0OO00OOO)" basic"}
  73. O0OOOOO0OO = "DialOutIPWedgeAdapter "$(O00OO00OOO)
  74. 00OOOOO0OO = " yes yes container"
  75. OO0OOOO0OO = {$(O00OO00OOO)" basic"}
  76. 0O0OOOO0OO = "DialInOutIPXWedgeAdapter "$(000OO00OOO)
  77. O00OOOO0OO = " yes yes container"
  78. 000OOOO0OO = {$(000OO00OOO)" basic"}
  79. OOO0OOO0OO = $(!NTN_SoftwareBase)"\"$(000OOO0OOO)"\"$(00O0OO0OOO)"\CurrentVersion"
  80. 0OO0OOO0OO = $(!NTN_ServiceBase)"\"$(00O0OO0OOO)"\Parameters"
  81. O0O0OOO0OO = $(!NTN_ServiceBase)"\"$(00O0OO0OOO)
  82. 00O0OOO0OO = $(!NTN_ServiceBase)"\"$(00O0OO0OOO)"\Linkage"
  83. OO00OOO0OO = $(!NTN_SoftwareBase)"\"$(000OOO0OOO)"\"$(OO00OO0OOO)"\CurrentVersion"
  84. 0O00OOO0OO = $(!NTN_ServiceBase)"\"$(OO00OO0OOO)"\Parameters"
  85. O000OOO0OO = $(!NTN_ServiceBase)"\"$(OO00OO0OOO)
  86. 0000OOO0OO = $(!NTN_ServiceBase)"\"$(OO00OO0OOO)"\Linkage"
  87. OOOO0OO0OO = $(!NTN_SoftwareBase)"\"$(000OOO0OOO)"\"$(0O00OO0OOO)"\CurrentVersion"
  88. 0OOO0OO0OO = $(!NTN_ServiceBase)"\"$(0O00OO0OOO)"\Parameters"
  89. O0OO0OO0OO = $(!NTN_ServiceBase)"\"$(0O00OO0OOO)
  90. 00OO0OO0OO = $(!NTN_ServiceBase)"\"$(0O00OO0OOO)"\Linkage"
  91. OO0O0OO0OO = $(!NTN_ServiceBase)"\NetBT\Adapters"
  92. 0O0O0OO0OO = $(!NTN_SoftwareBase)"\Microsoft\Ncpa\CurrentVersion"
  93. O00O0OO0OO = $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion"
  94. 000O0OO0OO = $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion\NetworkCards"
  95. OOO00OO0OO = "SYSTEM\CurrentControlSet\Control\ServiceGroupOrder"
  96. 0OO00OO0OO = {"AutoIPAddress","ServerAdapter","EnumExportPref"}
  97. [O0O00OO0OO]
  98. 00O00OO0OO = "UTILITY.INF"
  99. OO000OO0OO = "SUBROUTN.INF"
  100. 0O000OO0OO = $(!STF_WINDOWSSYSPATH)\netevent.dll
  101. O0000OO0OO = NO_ERROR
  102. 00000OO0OO = ""
  103. OOOOO0O0OO = ""
  104. 0OOOO0O0OO = """"
  105. O0OOO0O0OO = " "
  106. 00OOO0O0OO     = 0
  107. OO0OO0O0OO = 1
  108. 0O0OO0O0OO  = 2
  109. O00OO0O0OO = 1
  110. 000OO0O0OO = 0
  111. OOO0O0O0OO = 33554432
  112. 0OO0O0O0OO = ""
  113. O0O0O0O0OO = ""
  114. 00O0O0O0OO = ""
  115. OO00O0O0OO   = "Active"
  116. 0O00O0O0OO = 0
  117. O000O0O0OO = $(!STF_NTPATH)\drivers
  118. [0000O0O0OO]
  119. OOOO00O0OO = {} ? $(!LIBHANDLE) GetSystemDate
  120. [0OOO00O0OO]
  121. STF_PLATFORM = "" ? $(!LIBHANDLE) GetPlatform
  122. [Identify]
  123. set !G:DebugOutputControl = 1
  124. Read-Syms O0OOOO0OOO
  125. set O0OO00O0OO = STATUS_SUCCESSFUL
  126. set 00OO00O0OO = $(00OOOO0OOO)
  127. set OO0O00O0OO = #("Source Media Descriptions", 1, 1)
  128. Return $(O0OO00O0OO) $(00OO00O0OO) $(OO0O00O0OO)
  129. [ReturnOptions]
  130. set !G:DebugOutputControl = 1
  131. set O0OO00O0OO = STATUS_FAILED
  132. set 0O0O00O0OO = {}
  133. set O00O00O0OO = {}
  134. set 000O00O0OO = ^(OO0OOO0OOO, 1)
  135. ifcontains(i) $($0) in $(000O00O0OO)
  136. goto OOO000O0OO
  137. else
  138. set O0OO00O0OO = STATUS_NOLANGUAGE
  139. goto 0OO000O0OO
  140. endif
  141. OOO000O0OO = +
  142. set 0O0O00O0OO = ^(0O0OOO0OOO, 1)
  143. set O00O00O0OO = ^(O0O000O0OO$($0), 1)
  144. set O0OO00O0OO = STATUS_SUCCESSFUL
  145. 00O000O0OO = +
  146. return $(O0OO00O0OO) $(0O0O00O0OO) $(O00O00O0OO)
  147. [InstallOption]
  148. set OO0000O0OO =   $($1)
  149. set 0O0000O0OO =   $($2)
  150. set O00000O0OO =  $($3)
  151. set 000000O0OO =   $($4)
  152. set OOOOOO00OO = $($5)
  153. set !G:DebugOutputControl = 1
  154. set 000O00O0OO = ^(OO0OOO0OOO, 1)
  155. ifcontains(i) $($0) NOT-IN $(000O00O0OO)
  156. return STATUS_NOLANGAUGE
  157. endif
  158. set-subst LF = "\n"
  159. read-syms O0O00OO0OO
  160. read-syms O00OOO0OOO
  161. read-syms 0OOOOO00OO$(!STF_LANGUAGE)
  162. ifstr(i) $(!NTN_Origination) == "NCPA"
  163. set Continue = $(OK)
  164. endif
  165. read-syms O00OOO0OOO$(!STF_LANGUAGE)
  166. detect 0000O0O0OO
  167. detect 0OOO00O0OO
  168. set-title $(O0OOOO00OO)
  169. set OOOOO0O0OO = 00OOOO00OO
  170. set 00000OO0OO = 00OOOO00OO
  171. set OO0OOO00OO = STATUS_SUCCESSFUL
  172. 00OOOO00OO = +
  173. ifstr(i) $(!NTN_InstallMode) == deinstall
  174. set 0O0OOO00OO = O00OOO00OO
  175. else-ifstr(i) $(!NTN_InstallMode) == update
  176. set 0O0OOO00OO = 000OOO00OO
  177. else-ifstr(i) $(!NTN_InstallMode) == configure
  178. set 0O0OOO00OO = OOO0OO00OO
  179. else-ifstr(i) $(!NTN_InstallMode) == bind
  180. set 0O0OOO00OO = 0OO0OO00OO
  181. else 
  182. set 0O0OOO00OO = O0O0OO00OO
  183. endif
  184. set 00000OO0OO = $(00O0OO00OO)
  185. set OOOOO0O0OO = $(00O0OO00OO)
  186. goto $(0O0OOO00OO)
  187. O0O0OO00OO = +
  188. OpenRegKey $(!REG_H_LOCAL) "" $(OO00OOO0OO) $(OOO0O0O0OO) O0O0O0O0OO
  189. ifstr $(O0O0O0O0OO) != $(0OO0O0O0OO)
  190. CloseRegKey $(O0O0O0O0OO)
  191. ifstr(i) $(!NTN_Origination) == "NCPA"
  192. Shell $(OO000OO0OO) SetupMessage, $(!STF_LANGUAGE), NONFATAL, $(OO00OO00OO)" "$(O0O0OO0OOO)" "$(0O00OO00OO)
  193. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  194. goto O000OO00OO
  195. endif
  196. endif
  197. set OO0OOO00OO = STATUS_USERCANCEL
  198. goto 0000OO00OO
  199. endif
  200. Shell "" OOOO0O00OO
  201. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  202. ifstr(i) $(!NTN_Origination) == "NCPA"
  203. goto O000OO00OO
  204. else
  205. set OO0OOO00OO = STATUS_USERCANCEL
  206. goto 0000OO00OO
  207. endif
  208. endif
  209. ifstr $($R0) != "STATUS_SUCCESS"
  210. goto 0OOO0O00OO
  211. endif
  212. ifstr $($R1) != "4.0"
  213. goto 0OOO0O00OO
  214. endif
  215. ifint $($R2) < 3
  216. goto 0OOO0O00OO
  217. endif
  218. goto O0OO0O00OO
  219. 0OOO0O00OO = +
  220. CloseRegKey $(O0O0O0O0OO)
  221. ifstr(i) $(!NTN_Origination) == "NCPA"
  222. Shell $(OO000OO0OO) SetupMessage, $(!STF_LANGUAGE), NONFATAL, $(OO00OO00OO)" "$(O0O0OO0OOO)" "$(00OO0O00OO)
  223. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  224. goto O000OO00OO
  225. endif
  226. endif
  227. set OO0OOO00OO = STATUS_USERCANCEL
  228. goto 0000OO00OO
  229. O0OO0O00OO = +
  230. read-syms OO0O0O00OO$(!STF_LANGUAGE)
  231. Shell $(OO000OO0OO) PushBillboard NETSTATUSDLG $(0O0O0O00OO)
  232. set BillboardVisible = 1
  233. StartWait
  234. ifstr(i) $(!NTN_InstallMode) == "install"
  235. ifstr(i) $(000000O0OO) == "YES"
  236. Shell $(00O00OO0OO), DoAsksource, $(!STF_CWDDIR), $(0O0000O0OO) YES
  237. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  238. goto O000OO00OO
  239. else-ifstr(i) $($R0) == STATUS_FAILED
  240. Shell $(00O00OO0OO) RegistryErrorString "ASK_SOURCE_FAIL"
  241. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  242. goto O000OO00OO
  243. endif
  244. set O00O0O00OO = "Error copying files."
  245. goto 00O0OO00OO
  246. else-ifstr(i) $($R0) == STATUS_USERCANCEL
  247. goto 000O0O00OO
  248. endif
  249. set 0O0000O0OO = $($R1)
  250. endif 
  251. install "Install-Option"
  252. ifstr(i) $(!STF_INSTALL_OUTCOME) != $(!STF_SUCCESS)
  253. Shell $(00O00OO0OO) RegistryErrorString "UNABLE_COPY_FILE"
  254. ifint $($ShellCode) != $(!SHELL_CODE_OK)                 
  255. goto O000OO00OO
  256. endif
  257. set O00O0O00OO = $($R0)
  258. goto 00O0OO00OO
  259. endif
  260. endif
  261. Shell $(00O00OO0OO), AddSoftwareComponent, $(000OOO0OOO), +
  262. $(00O0OO0OOO), +
  263. $(00O0OO0OOO), +
  264. $(OOO00O00OO), +
  265. $(STF_CONTEXTINFNAME), $(0OOO0O0OOO), +
  266. $(0OO00O0OOO), $(O0O00O0OOO), {}, "", $(0O000OO0OO)
  267. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  268. goto O000OO00OO
  269. endif
  270. set O0000OO0OO = $($R0)
  271. Ifstr(i) $(O0000OO0OO) !=  NO_ERROR
  272. EndWait
  273. CloseRegKey $($R1)
  274. CloseRegKey $($R2)
  275. CloseRegKey $($R3)
  276. CloseRegKey $($R4)
  277. CloseRegKey $($R5)
  278. set O00O0O00OO = "Failed to add service software component."
  279. goto 0OO00O00OO
  280. endif
  281. set O0O00O00OO = $($R1)
  282. set 00O00O00OO   = $($R2)
  283. set OO000O00OO     = $($R3)
  284. set 0O000O00OO    = $($R4)
  285. set O0000O00OO    = $($R5)
  286. set 00000O00OO = {+
  287. {"SoftwareType",$(0O00O0O0OO),$(!REG_VT_SZ),$(OOO00O0OOO)},+
  288. {"MajorVersion",$(0O00O0O0OO),$(!REG_VT_DWORD),$(OOO0OO0OOO)},+
  289. {"MinorVersion",$(0O00O0O0OO),$(!REG_VT_DWORD),$(0OO0OO0OOO)},+
  290. {"Title",$(0O00O0O0OO),$(!REG_VT_SZ),$(OOOOO000OO)},+
  291. {"Description",$(0O00O0O0OO),$(!REG_VT_SZ),$(0OOOO000OO)},+
  292. {"ServiceName",$(0O00O0O0OO),$(!REG_VT_SZ),$(00O0OO0OOO)},+
  293. {"OperationsSupport",$(0O00O0O0OO),$(!REG_VT_DWORD),$(00O00O0OOO)},+
  294. {"InstallDate",$(0O00O0O0OO),$(!REG_VT_DWORD),*($(OOOO00O0OO),1)}}
  295. Shell $(00O00OO0OO), AddValueList, $(O0O00O00OO), $(00000O00OO)    
  296. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  297. goto O000OO00OO
  298. endif
  299. set O0000OO0OO = $($R0)
  300. ifstr(i) $(O0000OO0OO) != NO_ERROR
  301. EndWait
  302. CloseRegKey $(O0O00O00OO)
  303. CloseRegKey $(00O00O00OO)
  304. CloseRegKey $(OO000O00OO)
  305. CloseRegKey $(0O000O00OO)
  306. CloseRegKey $(O0000O00OO)
  307. set O00O0O00OO = "Failed to add service software value list."
  308. goto 0OO00O00OO
  309. endif
  310. set 00000O00OO = {{InfOption,$(0O00O0O0OO),$(!REG_VT_SZ),$(OO0000O0OO)}}
  311. Shell $(00O00OO0OO), AddValueList, $(00O00O00OO), $(00000O00OO)
  312. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  313. goto O000OO00OO
  314. endif
  315. set O0000OO0OO = $($R0)
  316. ifstr(i) $(O0000OO0OO) != NO_ERROR
  317. EndWait
  318. CloseRegKey $(O0O00O00OO)
  319. CloseRegKey $(00O00O00OO)
  320. CloseRegKey $(OO000O00OO)
  321. CloseRegKey $(0O000O00OO)
  322. CloseRegKey $(O0000O00OO)
  323. set O00O0O00OO = "Failed to add service software net rules."
  324. goto 0OO00O00OO
  325. endif
  326. CloseRegKey $(O0O00O00OO)
  327. CloseRegKey $(00O00O00OO)
  328. CloseRegKey $(OO000O00OO)
  329. CloseRegKey $(0O000O00OO)
  330. CloseRegKey $(O0000O00OO)
  331. Shell $(00O00OO0OO), AddSoftwareComponent, $(000OOO0OOO),+
  332. $(OO00OO0OOO),+
  333. $(OO00OO0OOO),+ 
  334. $(O0OOO000OO),+
  335. $(STF_CONTEXTINFNAME), $(0OOO0O0OOO),+
  336. $(00OO0O0OOO), $(OO0O0O0OOO), {}, "", $(0O000OO0OO)
  337. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  338. goto O000OO00OO
  339. endif
  340. set O0000OO0OO = $($R0)
  341. ifstr(i) $(O0000OO0OO) != NO_ERROR
  342. EndWait
  343. CloseRegKey $($R1)
  344. CloseRegKey $($R2)
  345. CloseRegKey $($R3)
  346. CloseRegKey $($R4)
  347. CloseRegKey $($R5)
  348. set O00O0O00OO = "Failed to add transport software component."
  349. goto 0OO00O00OO
  350. endif
  351. set O0O00O00OO = $($R1)
  352. set 00O00O00OO   = $($R2)
  353. set OO000O00OO     = $($R3)
  354. set 0O000O00OO    = $($R4)
  355. set O0000O00OO    = $($R5)
  356. set 00000O00OO = {+
  357. {"SoftwareType",$(0O00O0O0OO),$(!REG_VT_SZ),$(O0OO0O0OOO)},+
  358. {"MajorVersion",$(0O00O0O0OO),$(!REG_VT_DWORD),$(OOO0OO0OOO)},+
  359. {"MinorVersion",$(0O00O0O0OO),$(!REG_VT_DWORD),$(0OO0OO0OOO)},+
  360. {"Title",$(0O00O0O0OO),$(!REG_VT_SZ),$(OO00OO00OO)},+
  361. {"Description",$(0O00O0O0OO),$(!REG_VT_SZ),$(00OOO000OO)},+
  362. {"ServiceName",$(0O00O0O0OO),$(!REG_VT_SZ),$(OO00OO0OOO)},+
  363. {"Review",$(0O00O0O0OO),$(!REG_VT_DWORD),1},+
  364. {"Hidden",$(0O00O0O0OO),$(!REG_VT_DWORD),1},+
  365. {"InstallDate",$(0O00O0O0OO),$(!REG_VT_DWORD),*($(OOOO00O0OO),1)}}
  366. Shell $(00O00OO0OO), AddValueList, $(O0O00O00OO), $(00000O00OO)    
  367. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  368. goto O000OO00OO
  369. endif
  370. set O0000OO0OO = $($R0)
  371. ifstr(i) $(O0000OO0OO) != NO_ERROR
  372. EndWait
  373. CloseRegKey $(O0O00O00OO)
  374. CloseRegKey $(00O00O00OO)
  375. CloseRegKey $(OO000O00OO)
  376. CloseRegKey $(0O000O00OO)
  377. CloseRegKey $(O0000O00OO)
  378. set O00O0O00OO = "Failed to add transport software value list."
  379. goto 0OO00O00OO
  380. endif
  381. Shell "" OO0OO000OO
  382. set 00000O00OO = {{type,$(0O00O0O0OO),$(!REG_VT_SZ),$(0O00O00OOO)}, +
  383. {use,$(0O00O0O0OO),$(!REG_VT_SZ),$(OOOO000OOO)}, +
  384. {class,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),$(0000O00OOO)}, +
  385. {bindform,$(0O00O0O0OO),$(!REG_VT_SZ),$(O000O00OOO)}, +
  386. {bindable,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),$($R0)}, +
  387. {InfOption,$(0O00O0O0OO),$(!REG_VT_SZ),$(OO0000O0OO)}}
  388. Shell $(00O00OO0OO), AddValueList, $(00O00O00OO), $(00000O00OO)
  389. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  390. goto O000OO00OO
  391. endif
  392. set O0000OO0OO = $($R0)
  393. ifstr(i) $(O0000OO0OO) != NO_ERROR
  394. EndWait
  395. CloseRegKey $(O0O00O00OO)
  396. CloseRegKey $(00O00O00OO)
  397. CloseRegKey $(OO000O00OO)
  398. CloseRegKey $(0O000O00OO)
  399. CloseRegKey $(O0000O00OO)
  400. set O00O0O00OO = "Failed to add transport software net rules."
  401. goto 0OO00O00OO
  402. endif
  403. set 00000O00OO = {{DebugLevel,$(0O00O0O0OO),$(!REG_VT_DWORD),0}, +
  404. {DebugMask,$(0O00O0O0OO),$(!REG_VT_DWORD), 0}}
  405. Shell  $(00O00OO0OO), AddValueList, $(0O000O00OO), $(00000O00OO)
  406. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  407. goto O000OO00OO
  408. endif
  409. set O0000OO0OO = $($R0)
  410. ifstr(i) $(O0000OO0OO) != NO_ERROR
  411. EndWait
  412. CloseRegKey $(O0O00O00OO)
  413. CloseRegKey $(00O00O00OO)
  414. CloseRegKey $(OO000O00OO)
  415. CloseRegKey $(0O000O00OO)
  416. CloseRegKey $(O0000O00OO)
  417. set O00O0O00OO = "Failed to add transport software debug info."
  418. goto 0OO00O00OO
  419. endif
  420. CloseRegKey $(O0O00O00OO)
  421. CloseRegKey $(00O00O00OO)
  422. CloseRegKey $(OO000O00OO)
  423. CloseRegKey $(0O000O00OO)
  424. CloseRegKey $(O0000O00OO)
  425. Shell $(00O00OO0OO), AddSoftwareComponent, $(000OOO0OOO), +
  426. $(0O00OO0OOO), +
  427. $(0O00OO0OOO), +
  428. $(0O0OO000OO), +
  429. $(STF_CONTEXTINFNAME), $(0OOO0O0OOO), +
  430. $(O00O0O0OOO), $(000O0O0OOO), {}, "", $(0O000OO0OO)
  431. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  432. goto O000OO00OO
  433. endif
  434. set O0000OO0OO = $($R0)
  435. Ifstr(i) $(O0000OO0OO) !=  NO_ERROR
  436. EndWait
  437. CloseRegKey $($R1)
  438. CloseRegKey $($R2)
  439. CloseRegKey $($R3)
  440. CloseRegKey $($R4)
  441. CloseRegKey $($R5)
  442. set O00O0O00OO = "Failed to add adapter software component."
  443. goto 0OO00O00OO
  444. endif
  445. set O0O00O00OO = $($R1)
  446. set 00O00O00OO   = $($R2)
  447. set OO000O00OO     = $($R3)
  448. set 0O000O00OO    = $($R4)
  449. set O0000O00OO    = $($R5)
  450. set 00000O00OO = {{SoftwareType,$(0O00O0O0OO),$(!REG_VT_SZ),$(0O0O0O0OOO)},+
  451. {MajorVersion,$(0O00O0O0OO),$(!REG_VT_DWORD),$(OOO0OO0OOO)},+
  452. {MinorVersion,$(0O00O0O0OO),$(!REG_VT_DWORD),$(0OO0OO0OOO)},+
  453. {Title,$(0O00O0O0OO),$(!REG_VT_SZ),$(O00OO000OO)},+
  454. {Description,$(0O00O0O0OO),$(!REG_VT_SZ),$(000OO000OO)},+
  455. {ServiceName,$(0O00O0O0OO),$(!REG_VT_SZ),$(0O00OO0OOO)},+
  456. {RefCount,$(0O00O0O0OO),$(!REG_VT_DWORD),1},+
  457. {InstallDate,$(0O00O0O0OO),$(!REG_VT_DWORD),*($(OOOO00O0OO),1)}}
  458. Shell  $(00O00OO0OO), AddValueList, $(O0O00O00OO), $(00000O00OO)
  459. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  460. goto O000OO00OO
  461. endif
  462. set O0000OO0OO = $($R0)
  463. ifstr(i) $(O0000OO0OO) != NO_ERROR
  464. EndWait
  465. CloseRegKey $(O0O00O00OO)
  466. CloseRegKey $(00O00O00OO)
  467. CloseRegKey $(OO000O00OO)
  468. CloseRegKey $(0O000O00OO)
  469. CloseRegKey $(O0000O00OO)
  470. set O00O0O00OO = "Failed to add adapter software version info."
  471. goto 0OO00O00OO
  472. endif
  473. set 00000O00OO = {{type,$(0O00O0O0OO),$(!REG_VT_SZ),$(0OOO000OOO)}, +
  474. {use,$(0O00O0O0OO),$(!REG_VT_SZ),$(OO0O000OOO)}, +
  475. {class,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),$(00OO000OOO)}, +
  476. {bindform,$(0O00O0O0OO),$(!REG_VT_SZ),$(O0OO000OOO)}, +
  477. {bindable,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),$(0O0O000OOO)}, +
  478. {InfOption,$(0O00O0O0OO),$(!REG_VT_SZ),$(OO0000O0OO)}}
  479. Shell  $(00O00OO0OO), AddValueList, $(00O00O00OO), $(00000O00OO)
  480. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  481. goto O000OO00OO
  482. endif
  483. set O0000OO0OO = $($R0)
  484. ifstr(i) $(O0000OO0OO) != NO_ERROR
  485. EndWait
  486. CloseRegKey $(O0O00O00OO)
  487. CloseRegKey $(00O00O00OO)
  488. CloseRegKey $(OO000O00OO)
  489. CloseRegKey $(0O000O00OO)
  490. CloseRegKey $(O0000O00OO)
  491. set O00O0O00OO = "Failed to add adapter software net rules."
  492. goto 0OO00O00OO
  493. endif
  494. CloseRegKey $(O0O00O00OO)
  495. CloseRegKey $(00O00O00OO)
  496. CloseRegKey $(OO000O00OO)
  497. CloseRegKey $(0O000O00OO)
  498. CloseRegKey $(O0000O00OO)
  499. Shell "" OOO0O000OO
  500. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  501. goto O000OO00OO
  502. endif
  503. ifstr(i) $($R0) != STATUS_SUCCESSFUL
  504. EndWait
  505. set O00O0O00OO = "Failed to add inf to ReviewPrograms."
  506. goto 00O0OO00OO
  507. endif
  508. OpenRegKey $(!REG_H_LOCAL) "" $(OOO00OO0OO) $(OOO0O0O0OO) 0OO0O000OO
  509. set O0O0O000OO = {}
  510. Ifstr(i) $(0OO0O000OO) != $(0OO0O0O0OO)
  511. GetRegValue  $(0OO0O000OO) "List" 00O0O000OO
  512. ifint $(RegLastError) == 0
  513. ForListDo *($(00O0O000OO), 4)
  514. set O0O0O000OO = >($(O0O0O000OO), $($))
  515. EndForListDo
  516. endif
  517. Ifcontains(i) $(000O0O0OOO) not-in $(O0O0O000OO)
  518. set OO00O000OO = {}
  519. ForListDo $(O0O0O000OO)
  520. set OO00O000OO = >($(OO00O000OO), $($))
  521. ifstr(i) $($) == "NDIS"
  522. set OO00O000OO = >($(OO00O000OO), $(000O0O0OOO) )
  523. endif
  524. EndForListDo
  525. SetRegValue $(0OO0O000OO) {List, 0,$(!REG_VT_MULTI_SZ),$(OO00O000OO)}
  526. endif
  527. CloseRegKey $(0OO0O000OO)
  528. else
  529. endif
  530. EndWait
  531. goto 000O0O00OO
  532. OOO0OO00OO = +
  533. goto 000O0O00OO
  534. 0OO0OO00OO = +
  535. ifstr(i) $(!NTN_RegBase) != $(OO00OOO0OO)
  536. goto 000O0O00OO
  537. endif
  538. Shell "" 0O00O000OO
  539. set O000O000OO = $($R0)
  540. set 0000O000OO = {}
  541. Set OOOO0000OO = $(!NTN_ServiceBase)"\NdisWan\Linkage"
  542. OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) 0OOO0000OO
  543. ifstr(i) $(0OOO0000OO) != $(0OO0O0O0OO)
  544. GetRegValue $(0OOO0000OO) "Bind" O0OO0000OO
  545. ifint $(RegLastError) == 0
  546. set 00OO0000OO = *($(O0OO0000OO),4)
  547. endif
  548. CloseRegKey $(0OOO0000OO)
  549. endif
  550. ForListDo $(00OO0000OO)
  551. Split-String $($), "\", OO0O0000OO
  552. QueryListSize 0O0O0000OO $(OO0O0000OO)
  553. set O00O0000OO = *($(OO0O0000OO),$(0O0O0000OO))
  554. set 0000O000OO = >($(0000O000OO),$(O00O0000OO))
  555. EndForListDo
  556. OpenRegKey $(!REG_H_LOCAL) "" $(0000OOO0OO) $(OOO0O0O0OO) 000O0000OO
  557. ifstr(i) $(000O0000OO) != $(0OO0O0O0OO)
  558. GetRegValue $(000O0000OO) "Bind" O0OO0000OO
  559. set 00OO0000OO = *($(O0OO0000OO),4)
  560. CloseRegKey $(000O0000OO)
  561. else
  562. OpenRegKey $(!REG_H_LOCAL) "" $(O000OOO0OO) $(OOO0O0O0OO) OOO00000OO
  563. ifstr(i) $(OOO00000OO) != $(0OO0O0O0OO)                
  564. EnumRegKey $(OOO00000OO) 0OO00000OO
  565. CloseRegKey $(OOO00000OO)
  566. endif
  567. set O00O0O00OO = "Failed to open transport linkage key."
  568. goto 00O0OO00OO
  569. endif
  570. set O0O00000OO = {}
  571. ForListDo $(00OO0000OO)
  572. Split-String $($), "\", OO0O0000OO
  573. QueryListSize 0O0O0000OO $(OO0O0000OO)
  574. set O00O0000OO = *($(OO0O0000OO),$(0O0O0000OO))
  575. set 0000O000OO = >($(0000O000OO),$(O00O0000OO))
  576. set O0O00000OO = >($(O0O00000OO),$(O00O0000OO))
  577. EndForListDo
  578. set 00O00000OO = "No"
  579. ForListDo $(0000O000OO)
  580. OpenRegKey $(!REG_H_LOCAL) "" $(000O0OO0OO) $(OOO0O0O0OO) OO000000OO
  581. ifstr(i) $(OO000000OO) == $(0OO0O0O0OO)
  582. goto 0O000000OO
  583. endif
  584. set O0000000OO = $($)
  585. set 00000000OO = $(0OO0O0O0OO)
  586. EnumRegKey $(OO000000OO) OOOOOOOO0O
  587. ForListDo $(OOOOOOOO0O)
  588. OpenRegKey $(OO000000OO) "" *($($),1) $(OOO0O0O0OO) 0OOOOOOO0O
  589. ifstr(i) $(0OOOOOOO0O) == $(0OO0O0O0OO)
  590. CloseRegKey $(OO000000OO)
  591. goto O0OOOOOO0O
  592. endif
  593. GetRegValue $(0OOOOOOO0O) "ServiceName" 00OOOOOO0O
  594. ifstr(i) $(O0000000OO) == *($(00OOOOOO0O),4)
  595. set 00000000OO = $(0OOOOOOO0O)
  596. goto O0OOOOOO0O
  597. endif
  598. CloseRegKey $(0OOOOOOO0O)
  599. O0OOOOOO0O = +
  600. EndForListDo 
  601. CloseRegKey $(OO000000OO)
  602. ifstr(i) $(00000000OO) == $(0OO0O0O0OO)
  603. goto 0O000000OO
  604. endif
  605. GetRegValue $(00000000OO) "ProductName" OO0OOOOO0O
  606. ifint $(RegLastError) == 0
  607. set 0O0OOOOO0O = *($(OO0OOOOO0O),4)
  608. else-ifcontains(i) $($) in $(O0O00000OO)
  609. set 0O0OOOOO0O = $(O000OO0OOO)
  610. else
  611. set 0O0OOOOO0O = $(0000OO0OOO)
  612. endif
  613. OpenRegKey $(00000000OO) "" "NetRules" $(OOO0O0O0OO) O00OOOOO0O
  614. ifstr(i) $(O00OOOOO0O) == $(0OO0O0O0OO)
  615. CloseRegKey $(00000000OO)
  616. goto 0O000000OO
  617. endif
  618. CloseRegKey $(00000000OO)
  619. GetRegValue $(O00OOOOO0O) "type" 000OOOOO0O
  620. CloseRegKey $(O00OOOOO0O)
  621. Split-String *($(000OOOOO0O),4), " ", OOO0OOOO0O
  622. ifcontains(i) $(00000O0OOO) in $(OOO0OOOO0O)
  623. ifcontains(i) "Tcpip" in $(O000O000OO)
  624. set 0OO0OOOO0O = $(0000000OOO)
  625. set O0O0OOOO0O = $(0OOOOOO0OO)
  626. set 00O0OOOO0O = $(OOOOOOO0OO)
  627. set 0O0OOOOO0O = $(0000OO0OOO)
  628. set OO00OOOO0O = $(O0O0O00OOO)
  629. else
  630. goto 0O000000OO
  631. endif
  632. else-ifcontains(i) $(OOOOO00OOO) in $(OOO0OOOO0O)
  633. ifcontains(i) "Tcpip" in $(O000O000OO)
  634. set 0OO0OOOO0O = $(O0OOOOO0OO)
  635. set O0O0OOOO0O = $(OO0OOOO0OO)
  636. set 00O0OOOO0O = $(00OOOOO0OO)
  637. set 0O0OOOOO0O = $(0000OO0OOO)
  638. set OO00OOOO0O = $(00O0O00OOO)
  639. else
  640. goto 0O000000OO
  641. endif
  642. else-ifcontains(i) $(0OOOO00OOO) in $(OOO0OOOO0O)
  643. ifcontains(i) "NwlnkIpx" in $(O000O000OO)
  644. set 0OO0OOOO0O = $(0O0OOOO0OO)
  645. set O0O0OOOO0O = $(000OOOO0OO)
  646. set 00O0OOOO0O = $(O00OOOO0OO)
  647. set 0O0OOOOO0O = $(0000OO0OOO)
  648. set OO00OOOO0O = $(OO00O00OOO)
  649. else
  650. goto 0O000000OO
  651. endif
  652. else-ifcontains(i) $(0O000O0OOO) in $(OOO0OOOO0O)
  653. ifcontains(i) "NetBEUI" in $(O000O000OO)
  654. set 0OO0OOOO0O = $(0OO0000OOO)
  655. set O0O0OOOO0O = $(00O0000OOO)
  656. set 00O0OOOO0O = $(O0O0000OOO)
  657. set 0O0OOOOO0O = $(0000OO0OOO)
  658. set OO00OOOO0O = $(OOO0O00OOO)
  659. else
  660. goto 0O000000OO
  661. endif
  662. else-ifcontains(i) $(O0000O0OOO) in $(OOO0OOOO0O)
  663. ifcontains(i) "NetBEUI" in $(O000O000OO)
  664. set 0OO0OOOO0O = $(OO00000OOO)
  665. set O0O0OOOO0O = $(O000000OOO)
  666. set 00O0OOOO0O = $(0O00000OOO)
  667. set 0O0OOOOO0O = $(0000OO0OOO)
  668. set OO00OOOO0O = $(0OO0O00OOO)
  669. else
  670. goto 0O000000OO
  671. endif
  672. else-ifcontains(i) $($) in $(O0O00000OO)
  673. set 0OO0OOOO0O = $(O00O000OOO)
  674. set O0O0OOOO0O = $(OOO0000OOO)
  675. set 00O0OOOO0O = $(000O000OOO)
  676. set OO00OOOO0O = $(0O00OO0OOO)
  677. else
  678. goto 0O000000OO
  679. endif
  680. set OOOO0000OO = $(!NTN_ServiceBase)"\"$($)"\Parameters\"$(OO00OO0OOO)
  681. OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) OO000000OO
  682. ifstr(i) $(OO000000OO) == $(0OO0O0O0OO)
  683. CreateRegKey $(!REG_H_LOCAL) {$(OOOO0000OO),$(0O00O0O0OO),GenericClass} "" $(OOO0O0O0OO) "" 0O00OOOO0O
  684. else
  685. CloseRegKey $(OO000000OO)
  686. goto 0O000000OO
  687. endif
  688. ifstr(i) $(0O00OOOO0O) == $(0OO0O0O0OO)
  689. set O00O0O00OO = "Failed to open transport parameters key."
  690. goto 00O0OO00OO
  691. endif
  692. Shell $(00O00OO0OO), AddHardwareComponent, +
  693. $(0O0OOOOO0O), +
  694. $(STF_CONTEXTINFNAME), +
  695. $(OOOO0OO0OO)
  696. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  697. goto O000OO00OO
  698. endif 
  699. set O0000OO0OO = $($R0)
  700. ifstr(i) $(O0000OO0OO) !=  NO_ERROR
  701. CloseRegKey $($R1)
  702. CloseRegKey $($R2)
  703. CloseRegKey $($R3)
  704. set O00O0O00OO = "Failed to add hardware component "$(0O0OOOOO0O)"."
  705. goto 0OO00O00OO
  706. endif
  707. set O000OOOO0O = $($)
  708. set 0000OOOO0O = $(0OO0O0O0OO)
  709. OpenRegKey $(!REG_H_LOCAL) "" $(000O0OO0OO) $(OOO0O0O0OO) 0OOOOOOO0O
  710. ifstr(i) $(0OOOOOOO0O) != $(0OO0O0O0OO)
  711. EnumRegKey $(0OOOOOOO0O) OOOO0OOO0O
  712. ifint $(RegLastError) == 0
  713. ForListDo $(OOOO0OOO0O)
  714. OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(OOO0O0O0OO) 0OOO0OOO0O
  715. ifstr(i) $(0OOO0OOO0O) != $(0OO0O0O0OO)
  716. GetRegValue $(0OOO0OOO0O) "ServiceName" 00OOOOOO0O
  717. ifint $(RegLastError) == 0
  718. ifstr *($(00OOOOOO0O),4) == $(O000OOOO0O)
  719. GetRegValue $(0OOO0OOO0O) "Title" O0OO0OOO0O
  720. ifint $(RegLastError) == 0
  721. set 0000OOOO0O = *($(O0OO0OOO0O),4)
  722. endif
  723. endif
  724. endif
  725. CloseRegKey $(0OOO0OOO0O)
  726. endif
  727. EndForListDo
  728. endif
  729. CloseRegKey $(0OOOOOOO0O)
  730. endif
  731. set 00OO0OOO0O = $($R2)
  732. set 00O0O0O0OO = $($R3)
  733. set OO0O0OOO0O = $($R4)
  734. set 0O0O0OOO0O = $(0O0OOOOO0O)$(OO0O0OOO0O)
  735. set O00O0OOO0O = "["$(OO0O0OOO0O)"] "$(000O0OOO0O)"-->"$(0000OOOO0O)
  736. set 00000O00OO = {{Manufacturer,$(0O00O0O0OO),$(!REG_VT_SZ),$(000OOO0OOO)},+
  737. {Title,$(0O00O0O0OO),$(!REG_VT_SZ),$(O00O0OOO0O)},+
  738. {Description,$(0O00O0O0OO),$(!REG_VT_SZ),$(OOO00OOO0O)},+
  739. {ProductName,$(0O00O0O0OO),$(!REG_VT_SZ),$(OO00OOOO0O)},+
  740. {SoftwareName,$(0O00O0O0OO),$(!REG_VT_SZ),$(0O00OO0OOO)},+
  741. {ServiceName,$(0O00O0O0OO),$(!REG_VT_SZ),$($R5)},+
  742. {Hidden,$(0O00O0O0OO),$(!REG_VT_DWORD),1},+
  743. {InstallDate,$(0O00O0O0OO),$(!REG_VT_DWORD),*($(OOOO00O0OO),1)}}
  744. Shell  $(00O00OO0OO), AddValueList, $($R1), $(00000O00OO)
  745. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  746. goto O000OO00OO
  747. endif 
  748. CloseRegKey $($R1)
  749. set 0OO00OOO0O = """"$(0O0OOOOO0O)$(OO0O0OOO0O)""""
  750. set O0O00OOO0O = $(0OO00OOO0O)$(00O0OOOO0O)
  751. set 00000O00OO = {{type,$(0O00O0O0OO),$(!REG_VT_SZ),$(0OO0OOOO0O)},+
  752. {bindform,$(0O00O0O0OO),$(!REG_VT_SZ),$(O0O00OOO0O)}, +
  753. {class,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),$(O0O0OOOO0O)}, +
  754. {InfOption,$(0O00O0O0OO),$(!REG_VT_SZ),$(OO0000O0OO)}}
  755. Shell  $(00O00OO0OO), AddValueList, $(00OO0OOO0O), $(00000O00OO)
  756. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  757. goto O000OO00OO
  758. endif 
  759. set O0000OO0OO = $($R0)
  760. Ifstr(i) $(O0000OO0OO) != NO_ERROR
  761. EndWait
  762. CloseRegKey $(00O0O0O0OO)
  763. CloseRegKey $(00OO0OOO0O)
  764. set O00O0O00OO = "Failed to set net rules for "$(0OO00OOO0O)"."
  765. goto 0OO00O00OO
  766. endif
  767. CloseRegKey $(00OO0OOO0O)
  768. set OOOO0000OO = $(!NTN_ServiceBase)"\"$($)"\Parameters"
  769. OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) 00O00OOO0O
  770. ifstr(i) $(00O00OOO0O) != $(0OO0O0O0OO)
  771. set OO000OOO0O = {}
  772. EnumRegValue $(00O00OOO0O) OO000OOO0O
  773. ifstr $(OO000OOO0O) != {}
  774. ForListDo $(OO000OOO0O)
  775. ifcontains(i) *($($),1) in $(0OO00OO0OO)
  776. SetRegValue $(00O0O0O0OO) $($)
  777. endif
  778. EndForListDo
  779. endif
  780. EnumRegKey $(00O00OOO0O) 0O000OOO0O
  781. ifint $(RegLastError) == 0
  782. ForListDo $(0O000OOO0O)
  783. OpenRegKey $(00O00OOO0O) "" *($($),1) $(OOO0O0O0OO) O0000OOO0O
  784. ifstr(i) $(O0000OOO0O) != $(0OO0O0O0OO)
  785. CreateRegKey $(00O0O0O0OO) {*($($),1),$(0O00O0O0OO),GenericClass} "" $(OOO0O0O0OO) "" 00000OOO0O
  786. ifstr(i) $(00000OOO0O) != $(0OO0O0O0OO)
  787. Shell "", OOOOO0OO0O, $(O0000OOO0O), $(00000OOO0O)
  788. CloseRegKey $(00000OOO0O)
  789. endif
  790. CloseRegKey $(O0000OOO0O)
  791. endif
  792. EndForListDo
  793. endif
  794. CloseRegKey $(00O00OOO0O)
  795. endif
  796. endif 
  797. set 00000O00OO = {{InstanceNumber,$(0O00O0O0OO),$(!REG_VT_DWORD),$(OO0O0OOO0O)},+
  798. {SystemAdapter,$(0O00O0O0OO),$(!REG_VT_SZ),"\Device\"$($)},+
  799. {SourceParameters,$(0O00O0O0OO),$(!REG_VT_SZ),$(OOOO0000OO)}}
  800. Shell  $(00O00OO0OO), AddValueList, $(00O0O0O0OO), $(00000O00OO)
  801. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  802. CloseRegKey $(00O0O0O0OO)
  803. goto O000OO00OO
  804. endif 
  805. set O0000OO0OO = $($R0)
  806. Ifstr(i) $(O0000OO0OO) != NO_ERROR
  807. set O00O0O00OO = "Failed to set parameters for "$(0OO00OOO0O)"."
  808. CloseRegKey $(00O0O0O0OO)
  809. goto 0OO00O00OO
  810. endif
  811. ifstr(i) $(0O00OOOO0O) != $(0OO0O0O0OO)
  812. OpenRegKey $(!REG_H_LOCAL) "" $(OO0O0OO0OO)"\"$($) $(OOO0O0O0OO) 0OOOO0OO0O
  813. ifstr(i) $(0OOOO0OO0O) == $(0OO0O0O0OO)
  814. else
  815. CreateRegKey $(00O0O0O0OO) {"NetBT\"$($),$(0O00O0O0OO),GenericClass} "" $(OOO0O0O0OO) "" O0OOO0OO0O
  816. ifstr(i) $(O0OOO0OO0O) == $(0OO0O0O0OO)
  817. else
  818. Shell "", OOOOO0OO0O, $(0OOOO0OO0O), $(O0OOO0OO0O)
  819. CloseRegKey $(O0OOO0OO0O)
  820. endif
  821. CloseRegKey $(0OOOO0OO0O)
  822. endif
  823. endif
  824. CloseRegKey $(00O0O0O0OO)
  825. set 00OOO0OO0O = $(!NTN_ServiceBase)"\"$(0O0OOOOO0O)$(OO0O0OOO0O)"\Parameters\DNESignature"
  826. CreateRegKey $(!REG_H_LOCAL) {$(00OOO0OO0O),$(0O00O0O0OO),GenericClass} "" $(OOO0O0O0OO) "" OO0OO0OO0O
  827. ifstr(i) $(OO0OO0OO0O) == $(0OO0O0O0OO)
  828. endif
  829. set 00O00000OO = "Yes"
  830. ifstr(i) $(0O00OOOO0O) != $(0OO0O0O0OO)
  831. set 00000O00OO = {{Device,$(0O00O0O0OO),$(!REG_VT_SZ),$($)},+
  832. {AdapterNumber,$(0O00O0O0OO),$(!REG_VT_SZ),$(OO0O0OOO0O)}, +
  833. {InstanceNumber,$(0O00O0O0OO),$(!REG_VT_DWORD), $(OO0O0OOO0O) } }
  834. Shell $(00O00OO0OO), AddValueList, $(0O00OOOO0O), $(00000O00OO)
  835. CloseRegKey $(0O00OOOO0O)
  836. endif
  837. 0O000000OO = +
  838. EndForListDo
  839. set 0O0OO0OO0O = {}
  840. set O00OO0OO0O = {}
  841. OpenRegKey $(!REG_H_LOCAL) "" $(000O0OO0OO) $(OOO0O0O0OO) 0OOOOOOO0O
  842. ifstr(i) $(0OOOOOOO0O) != $(0OO0O0O0OO)
  843. EnumRegKey $(0OOOOOOO0O) OOOO0OOO0O
  844. ifint $(RegLastError) == 0
  845. ForListDo $(OOOO0OOO0O)
  846. OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(OOO0O0O0OO) 0OOO0OOO0O
  847. ifstr(i) $(0OOO0OOO0O) != $(0OO0O0O0OO)
  848. GetRegValue $(0OOO0OOO0O) "ServiceName" 00OOOOOO0O
  849. ifint $(RegLastError) == 0
  850. set OOOO0000OO = $(!NTN_ServiceBase)"\"*($(00OOOOOO0O),4)"\Parameters"
  851. OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) 000OO0OO0O
  852. ifstr(i) $(000OO0OO0O) == $(0OO0O0O0OO)
  853. GetRegValue $(0OOO0OOO0O) "SoftwareName" OOO0O0OO0O
  854. ifint $(RegLastError) == 0
  855. ifstr *($(OOO0O0OO0O),4) == $(0O00OO0OOO)
  856. set 0O0OO0OO0O = >($(0O0OO0OO0O),*($($),1))
  857. set O00OO0OO0O = >($(O00OO0OO0O),*($(OOO0O0OO0O),4))
  858. endif
  859. endif
  860. else
  861. GetRegValue $(000OO0OO0O) "SystemAdapter" 0OO0O0OO0O
  862. ifint $(RegLastError) == 0
  863. Split-String *($(0OO0O0OO0O),4), "\", OO0O0000OO
  864. QueryListSize 0O0O0000OO $(OO0O0000OO)
  865. set O00O0000OO = *($(OO0O0000OO),$(0O0O0000OO))
  866. OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\"$(O00O0000OO) $(OOO0O0O0OO) O0O0O0OO0O
  867. ifstr(i) $(O0O0O0OO0O) != $(0OO0O0O0OO)
  868. CloseRegKey $(O0O0O0OO0O)
  869. else
  870. set 0O0OO0OO0O = >($(0O0OO0OO0O),*($($),1))
  871. GetRegValue $(0OOO0OOO0O) "SoftwareName" OOO0O0OO0O
  872. ifint $(RegLastError) == 0
  873. set O00OO0OO0O = >($(O00OO0OO0O),*($(OOO0O0OO0O),4))
  874. else
  875. set O00OO0OO0O = >($(O00OO0OO0O),$(0O00OO0OOO))
  876. endif
  877. endif
  878. endif
  879. CloseRegKey $(000OO0OO0O)
  880. endif
  881. endif
  882. CloseRegKey $(0OOO0OOO0O)
  883. endif
  884. EndForListDo
  885. endif
  886. CloseRegKey $(0OOOOOOO0O)
  887. endif
  888. ForListDo $(0O0OO0OO0O)
  889. set 00O0O0OO0O = $(000O0OO0OO)"\"$($)
  890. set OO00O0OO0O = *($(O00OO0OO0O),$(#))
  891. Shell $(00O00OO0OO), RemoveHardwareComponent, $(000OOO0OOO), $(OO00O0OO0O), $(00O0O0OO0O)
  892. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  893. goto O000OO00OO
  894. endif
  895. set O0000OO0OO = $($R0)
  896. ifstr(i) $(O0000OO0OO) !=  NO_ERROR
  897. set O00O0O00OO = "Failed to remove unused hardware component "$(00O0O0OO0O)"."
  898. goto 0OO00O00OO
  899. endif
  900. set 00O00000OO = "Yes"
  901. EndForListDo
  902. set OOOO0000OO = $(!NTN_SoftwareBase)"\"$(000OOO0OOO)"\"$(OO00OO0OOO)"\CurrentVersion\NetRules"
  903. OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) 0O00O0OO0O
  904. ifstr(i) $(0O00O0OO0O) != $(0OO0O0O0OO)
  905. GetRegValue $(0O00O0OO0O) "bindable" O000O0OO0O
  906. ifint $(RegLastError) == 0
  907. Shell "" OO0OO000OO
  908. ifstr $($R0) != *($(O000O0OO0O),4)
  909. SetRegValue $(0O00O0OO0O) {"bindable",$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),$($R0)}
  910. ifint $(RegLastError) != 0
  911. else
  912. set 00O00000OO = "Yes"
  913. endif
  914. endif
  915. endif
  916. CloseRegKey $(0O00O0OO0O)
  917. else
  918. endif
  919. Shell "" 0000O0OO0O
  920. Shell "" OOOO00OO0O
  921. set 0OOO00OO0O = $($R0)
  922. set O0OO00OO0O = $($R1)
  923. Shell "" 0O00O000OO
  924. ForListDo $($R0)
  925. set OOOO0000OO = $(!NTN_ServiceBase)"\"$($)"\Linkage"
  926. OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) 00OO00OO0O
  927. ifstr(i) $(00OO00OO0O) != $(0OO0O0O0OO)
  928. Shell "" OO0O00OO0O $($),$(00OO00OO0O),$(0OOO00OO0O),$(O0OO00OO0O),$(O00OO0O0OO)
  929. CloseRegKey $(00OO00OO0O)
  930. else
  931. endif
  932. EndForListDo
  933. ifstr(i) $(00O00000OO) == "Yes"
  934. OpenRegKey $(!REG_H_LOCAL) "" $(0O0O0OO0OO) $(OOO0O0O0OO) 0O0O00OO0O
  935. ifstr(i) $(0O0O00OO0O) != $(0OO0O0O0OO)
  936. SetRegValue $(0O0O00OO0O) {"BindRestart",$(0O00O0O0OO),$(!REG_VT_DWORD),1}
  937. CloseRegKey $(0O0O00OO0O)
  938. else
  939. endif
  940. endif
  941. goto 000O0O00OO
  942. O00OOO00OO = +
  943. ifstr(i) $(!NTN_RegBase) != $(OOO0OOO0OO)
  944. set O00O0O00OO = "To uninstall this adapter, remove '"$(0OOOO000OO)"' from Services"
  945. set 00000OO0OO = 0000OO00OO
  946. goto O00O00OO0O
  947. endif
  948. Shell "" 000O00OO0O
  949. Shell "" OOO000OO0O
  950. Shell "" 0OO000OO0O
  951. goto 0000OO00OO
  952. 000OOO00OO = +
  953. goto 000O0O00OO
  954. O000OO00OO = +
  955. ifstr(i) $(!NTN_Origination) == "NCPA"
  956. Shell $(OO000OO0OO) SetupMessage, $(!STF_LANGUAGE), FATAL, "Fatal shell error: "$($ShellCode)
  957. endif
  958. goto O0O000OO0O
  959. 00O0OO00OO = +
  960. ifstr(i) $(!NTN_Origination) == "NCPA"
  961. Shell $(OO000OO0OO) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(O00O0O00OO)
  962. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  963. goto O000OO00OO
  964. endif
  965. endif
  966. set 00O000OO0O = {"O0O0OO00OO"}
  967. ifcontains(i) $(0O0OOO00OO) in $(00O000OO0O)
  968. Shell "" 0OO000OO0O
  969. endif
  970. goto O0O000OO0O
  971. 0OO00O00OO = +
  972. ifstr(i) $(!NTN_Origination) == "NCPA"
  973. Shell $(00O00OO0OO) RegistryErrorString $(O0000OO0OO)
  974. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  975. goto O000OO00OO
  976. endif
  977. set OO0000OO0O = $(O00O0O00OO)
  978. set O00O0O00OO = $($R0)
  979. Shell $(OO000OO0OO) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(OO0000OO0O)
  980. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  981. goto O000OO00OO
  982. endif
  983. endif
  984. goto 00O0OO00OO
  985. O00O00OO0O = +
  986. set OO0OOO00OO = STATUS_USERCANCEL
  987. set 0O0000OO0O = STATUS
  988. goto O00000OO0O
  989. 000000OO0O = +
  990. set 0O0000OO0O = NONFATAL
  991. goto O00000OO0O
  992. O00000OO0O = +
  993. ifstr(i) $(!NTN_Origination) == "NCPA"
  994. ifstr(i) $(O00O0O00OO) == ""
  995. Shell $(00O00OO0OO) RegistryErrorString "SETUP_FAIL"
  996. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  997. goto O000OO00OO
  998. endif
  999. set O00O0O00OO = $($R0)
  1000. endif
  1001. Shell $(OO000OO0OO) SetupMessage, $(!STF_LANGUAGE), $(0O0000OO0O), $(O00O0O00OO)
  1002. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  1003. goto O000OO00OO
  1004. endif
  1005. ifstr(i) $($R1) == "OK"
  1006. goto $(00000OO0OO)
  1007. else
  1008. goto 0000OO00OO
  1009. endif
  1010. else
  1011. goto $(00000OO0OO)
  1012. endif
  1013. O0O000OO0O = + 
  1014. set OO0OOO00OO = STATUS_FAILED
  1015. goto 0000OO00OO
  1016. 000O0O00OO = +
  1017. goto 0000OO00OO
  1018. 0000OO00OO = +
  1019. goto OOOOOO0O0O
  1020. OOOOOO0O0O = +
  1021. return $(OO0OOO00OO)
  1022. [BindingsReview]
  1023. set !G:DebugOutputControl = 1
  1024. read-syms O00OOO0OOO
  1025. read-syms O0O00OO0OO
  1026. OpenRegKey $(!REG_H_LOCAL) "" $(00OO0OO0OO) $(OOO0O0O0OO) 00OO00OO0O
  1027. ifstr $(00OO00OO0O) == $(0OO0O0O0OO)                        
  1028. else
  1029. GetRegValue $(00OO00OO0O) "Bind" 0OOOOO0O0O
  1030. ifint $(RegLastError) != 0
  1031. else
  1032. set O0OO0000OO = *($(0OOOOO0O0O),4)
  1033. ForListDo $(O0OO0000OO)
  1034. Split-String $($) "\" O0OOOO0O0O
  1035. set 00OOOO0O0O = $(!NTN_ServiceBase)"\"*($(O0OOOO0O0O),4)"\Parameters"
  1036. OpenRegKey $(!REG_H_LOCAL) "" $(00OOOO0O0O) $(OOO0O0O0OO) OO0OOO0O0O
  1037. ifstr $(OO0OOO0O0O) == $(0OO0O0O0OO)                        
  1038. else
  1039. GetRegValue $(OO0OOO0O0O) "SourceParameters" 0O0OOO0O0O
  1040. ifint $(RegLastError) == 0
  1041. set O00OOO0O0O = *($(0O0OOO0O0O),4)
  1042. OpenRegKey $(!REG_H_LOCAL) "" $(O00OOO0O0O) $(OOO0O0O0OO) 000OOO0O0O
  1043. ifstr $(000OOO0O0O) == $(0OO0O0O0OO)                        
  1044. else
  1045. set OO000OOO0O = {}
  1046. EnumRegValue $(000OOO0O0O) OO000OOO0O
  1047. ifstr $(OO000OOO0O) != {}
  1048. ForListDo $(OO000OOO0O)
  1049. ifcontains(i) *($($),1) in $(0OO00OO0OO)
  1050. SetRegValue $(OO0OOO0O0O) $($)
  1051. endif
  1052. EndForListDo
  1053. endif
  1054. EnumRegKey $(000OOO0O0O) 0O000OOO0O
  1055. ifint $(RegLastError) == 0
  1056. ForListDo $(0O000OOO0O)
  1057. OpenRegKey $(000OOO0O0O) "" *($($),1) $(OOO0O0O0OO) O0000OOO0O
  1058. ifstr(i) $(O0000OOO0O) != $(0OO0O0O0OO)
  1059. OpenRegKey $(OO0OOO0O0O) "" *($($),1) $(OOO0O0O0OO) 00000OOO0O
  1060. ifstr(i) $(00000OOO0O) != $(0OO0O0O0OO)
  1061. Shell "", OOOOO0OO0O, $(O0000OOO0O), $(00000OOO0O)
  1062. CloseRegKey $(00000OOO0O)
  1063. endif
  1064. CloseRegKey $(O0000OOO0O)
  1065. endif
  1066. EndForListDo
  1067. endif
  1068. CloseRegKey $(000OOO0O0O)
  1069. DeleteRegValue $(OO0OOO0O0O) "SourceParameters"
  1070. endif
  1071. endif
  1072. CloseRegKey $(OO0OOO0O0O)
  1073. endif
  1074. EndForListDo
  1075. endif
  1076. CloseRegKey $(00OO00OO0O)
  1077. endif
  1078. Shell "" OOO0OO0O0O
  1079. Shell "" 0OO0OO0O0O
  1080. return STATUS_SUCCESSFUL
  1081. [OOOO00OO0O]
  1082. read-syms O0O00OO0OO
  1083. read-syms O00OOO0OOO
  1084. set 0OOO00OO0O = {}
  1085. set O0OO00OO0O = {}
  1086. OpenRegKey $(!REG_H_LOCAL) "" $(000O0OO0OO) $(OOO0O0O0OO) 0OOOOOOO0O
  1087. ifstr(i) $(0OOOOOOO0O) != $(0OO0O0O0OO)
  1088. EnumRegKey $(0OOOOOOO0O) OOOO0OOO0O
  1089. ifint $(RegLastError) == 0
  1090. ForListDo $(OOOO0OOO0O)
  1091. OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(OOO0O0O0OO) 0OOO0OOO0O
  1092. ifstr(i) $(0OOO0OOO0O) != $(0OO0O0O0OO)
  1093. GetRegValue $(0OOO0OOO0O) "ServiceName" 00OOOOOO0O
  1094. ifint $(RegLastError) == 0
  1095. set OOOO0000OO = $(!NTN_ServiceBase)"\"*($(00OOOOOO0O),4)"\Parameters\DNESignature"
  1096. OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) O0O0OO0O0O
  1097. ifstr(i) $(O0O0OO0O0O) != $(0OO0O0O0OO)
  1098. set 0OOO00OO0O = >($(0OOO00OO0O),*($(00OOOOOO0O),4))
  1099. CloseRegKey $(O0O0OO0O0O)
  1100. else
  1101. set O0OO00OO0O = >($(O0OO00OO0O),*($(00OOOOOO0O),4))
  1102. endif
  1103. endif
  1104. CloseRegKey $(0OOO0OOO0O)
  1105. endif
  1106. EndForListDo
  1107. endif
  1108. CloseRegKey $(0OOOOOOO0O)
  1109. endif
  1110. return $(0OOO00OO0O) $(O0OO00OO0O)
  1111. [OOO000OO0O]
  1112. read-syms O0O00OO0OO
  1113. read-syms O00OOO0OOO
  1114. Shell "" OOOO00OO0O
  1115. ForListDo $($R0)
  1116. set 00O0OO0O0O = $(!NTN_ServiceBase)"\"$($)"\Parameters"
  1117. OpenRegKey $(!REG_H_LOCAL) "" $(00O0OO0O0O) $(OOO0O0O0OO) OO00OO0O0O
  1118. ifstr $(OO00OO0O0O) != $(0OO0O0O0OO)
  1119. GetRegValue $(OO00OO0O0O) "SystemAdapter" 0O00OO0O0O
  1120. ifint $(RegLastError) == 0
  1121. set O000OO0O0O = *($(0O00OO0O0O),4)
  1122. Split-String $(O000OO0O0O) "\_" 0000OO0O0O
  1123. QueryListSize OOOO0O0O0O $(0000OO0O0O)
  1124. set 0OOO0O0O0O = $(!NTN_ServiceBase)"\"*($(0000OO0O0O),$(OOOO0O0O0O))"\Parameters"
  1125. OpenRegKey $(!REG_H_LOCAL) "" $(0OOO0O0O0O) $(OOO0O0O0OO) O0OO0O0O0O
  1126. ifstr $(O0OO0O0O0O) != $(0OO0O0O0OO)
  1127. Shell "", OOOOO0OO0O, $(OO00OO0O0O), $(O0OO0O0O0O)
  1128. DeleteRegKey $(O0OO0O0O0O) $(OO00OO0OOO)
  1129. DeleteRegKey $(O0OO0O0O0O) "DNESignature"
  1130. CloseRegKey $(O0OO0O0O0O)
  1131. endif
  1132. endif
  1133. CloseRegKey $(OO00OO0O0O)
  1134. endif
  1135. EndForListDo
  1136. return
  1137. [000O00OO0O]
  1138. read-syms O0O00OO0OO
  1139. read-syms O00OOO0OOO
  1140. OpenRegKey $(!REG_H_LOCAL) "" $(00OO0OO0OO) $(OOO0O0O0OO) 00OO00OO0O
  1141. ifstr(i) $(00OO00OO0O) == $(0OO0O0O0OO)
  1142. else
  1143. GetRegValue $(00OO00OO0O) "Bind" O0OO0000OO
  1144. ifint $(RegLastError) != 0
  1145. else
  1146. set 00OO0O0O0O = *($(O0OO0000OO),4)
  1147. ForListDo $(00OO0O0O0O)
  1148. Split-String $($), "\", OO0O0000OO
  1149. QueryListSize OO0O0O0O0O $(OO0O0000OO)
  1150. set 0O0O0O0O0O = *($(OO0O0000OO),$(OO0O0O0O0O))
  1151. set OOOO0000OO = $(!NTN_ServiceBase)"\"$(0O0O0O0O0O)"\Parameters\"$(OO00OO0OOO)
  1152. OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) O00O0O0O0O
  1153. ifstr(i) $(O00O0O0O0O) == $(0OO0O0O0OO)
  1154. else
  1155. GetRegValue $(O00O0O0O0O) "Device" 000O0O0O0O
  1156. ifint $(RegLastError) != 0
  1157. else
  1158. set OOOO0000OO = $(OO0O0OO0OO)"\"*($(000O0O0O0O),4)
  1159. CreateRegKey $(!REG_H_LOCAL) {$(OOOO0000OO),$(0O00O0O0OO),GenericClass} "" $(OOO0O0O0OO) "" O0OOO0OO0O
  1160. ifstr(i) $(O0OOO0OO0O) == $(0OO0O0O0OO)
  1161. else
  1162. set OOOO0000OO = $(OO0O0OO0OO)"\"$(0O0O0O0O0O)
  1163. OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) OOO00O0O0O
  1164. ifstr(i) $(O0OOO0OO0O) == $(0OO0O0O0OO)
  1165. else
  1166. Shell "", OOOOO0OO0O, $(OOO00O0O0O), $(O0OOO0OO0O)
  1167. ifstr(i) $($R0) != STATUS_SUCCESSFUL
  1168. endif
  1169. CloseRegKey $(OOO00O0O0O)
  1170. endif
  1171. CloseRegKey $(O0OOO0OO0O)
  1172. endif
  1173. endif
  1174. CloseRegKey $(O00O0O0O0O)
  1175. endif
  1176. EndForListDo
  1177. endif
  1178. CloseRegKey $(00OO00OO0O)
  1179. endif
  1180. return
  1181. [OOO0OO0O0O]
  1182. read-syms O0O00OO0OO
  1183. read-syms O00OOO0OOO
  1184. set 00OO0O0O0O = {}
  1185. OpenRegKey $(!REG_H_LOCAL) "" $(00OO0OO0OO) $(OOO0O0O0OO) 00OO00OO0O
  1186. ifstr(i) $(00OO00OO0O) != $(0OO0O0O0OO)
  1187. GetRegValue $(00OO00OO0O) "Bind" O0OO0000OO
  1188. ifint $(RegLastError) == 0
  1189. set 00OO0O0O0O = *($(O0OO0000OO),4)
  1190. endif
  1191. endif
  1192. ifstr $(00OO0O0O0O) != {}
  1193. ForListDo $(00OO0O0O0O)
  1194. Split-String $($), "\", OO0O0000OO
  1195. QueryListSize OO0O0O0O0O $(OO0O0000OO)
  1196. set 0O0O0O0O0O = *($(OO0O0000OO),$(OO0O0O0O0O))
  1197. OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\"$(0O0O0O0O0O)"\Parameters\NetBT" $(OOO0O0O0OO) 0OOOO0OO0O
  1198. ifstr(i) $(0OOOO0OO0O) == $(0OO0O0O0OO)
  1199. else
  1200. EnumRegKey $(0OOOO0OO0O) 0OO00O0O0O
  1201. ifint $(RegLastError) != 0
  1202. else
  1203. ForListDo $(0OO00O0O0O)
  1204. set O0O00O0O0O = *($($),1)
  1205. OpenRegKey $(0OOOO0OO0O) "" $(O0O00O0O0O) $(OOO0O0O0OO) OOO00O0O0O
  1206. ifstr(i) $(OOO00O0O0O) == $(0OO0O0O0OO)
  1207. else
  1208. set OOOO0000OO = $(OO0O0OO0OO)"\"$(0O0O0O0O0O)
  1209. OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) O0OOO0OO0O
  1210. ifstr(i) $(O0OOO0OO0O) == $(0OO0O0O0OO)
  1211. else
  1212. Shell "", OOOOO0OO0O, $(OOO00O0O0O), $(O0OOO0OO0O)
  1213. ifstr(i) $($R0) != STATUS_SUCCESSFUL
  1214. else
  1215. DeleteRegTree $(0OOOO0OO0O) $(O0O00O0O0O)
  1216. endif
  1217. CloseRegKey $(O0OOO0OO0O)
  1218. endif 
  1219. CloseRegKey $(OOO00O0O0O)
  1220. endif
  1221. EndForListDo
  1222. endif
  1223. CloseRegKey $(0OOOO0OO0O)
  1224. endif
  1225. EndForListDo 
  1226. endif
  1227. ifstr(i) $(00OO00OO0O) != $(0OO0O0O0OO)
  1228. CloseRegKey $(00OO00OO0O)
  1229. endif
  1230. return
  1231. [OOOOO0OO0O]
  1232. set 00O00O0O0O = $($0)
  1233. set OO000O0O0O = $($1)
  1234. Set FLibraryErrCtl = 1
  1235. LibraryProcedure __CopyResult $(!NCPA_HANDLE), RegCopyTree, $(00O00O0O0O), $(OO000O0O0O)
  1236. Set FLibraryErrCtl = 0
  1237. Set 0O000O0O0O = *($(O0000O0O0O),1)
  1238. Ifint $(0O000O0O0O) != 0
  1239. return UNABLE_ACCESS_CONFIGURE_SERVICE
  1240. Endif
  1241. return STATUS_SUCCESSFUL
  1242. [0OO000OO0O]
  1243. read-syms O0O00OO0OO
  1244. read-syms O00OOO0OOO
  1245. read-syms 0OOOOO00OO$(!STF_LANGUAGE)
  1246. Shell "" 00000O0O0O
  1247. OpenRegKey $(!REG_H_LOCAL) "" $(000O0OO0OO) $(OOO0O0O0OO) 0OOOOOOO0O
  1248. ifstr(i) $(0OOOOOOO0O) != $(0OO0O0O0OO)
  1249. EnumRegKey $(0OOOOOOO0O) OOOO0OOO0O
  1250. ifint $(RegLastError) == 0
  1251. ForListDo $(OOOO0OOO0O)
  1252. OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(OOO0O0O0OO) 0OOO0OOO0O
  1253. ifstr(i) $(0OOO0OOO0O) != $(0OO0O0O0OO)
  1254. GetRegValue $(0OOO0OOO0O) "ServiceName" 00OOOOOO0O
  1255. ifint $(RegLastError) == 0
  1256. set OO00O0OO0O = $(0OO0O0O0OO)
  1257. set OOOO0000OO = $(!NTN_ServiceBase)"\"*($(00OOOOOO0O),4)"\Parameters\DNESignature"
  1258. OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) O0O0O0OO0O
  1259. ifstr(i) $(O0O0O0OO0O) != $(0OO0O0O0OO)
  1260. CloseRegKey $(O0O0O0OO0O)
  1261. GetRegValue $(0OOO0OOO0O) "SoftwareName" OOO0O0OO0O
  1262. ifint $(RegLastError) == 0
  1263. set OO00O0OO0O = *($(OOO0O0OO0O),4)
  1264. else
  1265. set OO00O0OO0O = $(0O00OO0OOO)
  1266. endif
  1267. else
  1268. GetRegValue $(0OOO0OOO0O) "SoftwareName" OOO0O0OO0O
  1269. ifint $(RegLastError) == 0
  1270. ifstr *($(OOO0O0OO0O),4) == $(0O00OO0OOO)
  1271. set OO00O0OO0O = *($(OOO0O0OO0O),4)
  1272. endif
  1273. endif
  1274. endif
  1275. ifstr $(OO00O0OO0O) != $(0OO0O0O0OO)
  1276. set 00O0O0OO0O = $(000O0OO0OO)"\"*($($),1)
  1277. Shell $(00O00OO0OO), RemoveHardwareComponent, $(000OOO0OOO), $(OO00O0OO0O), $(00O0O0OO0O)
  1278. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  1279. endif
  1280. endif
  1281. endif
  1282. CloseRegKey $(0OOO0OOO0O)
  1283. endif
  1284. EndForListDo
  1285. endif
  1286. CloseRegKey $(0OOOOOOO0O)
  1287. endif
  1288. OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase) $(OOO0O0O0OO) O0O0O0OO0O
  1289. ifstr(i) $(O0O0O0OO0O) != $(0OO0O0O0OO)
  1290. EnumRegKey $(O0O0O0OO0O) OOOOO00O0O
  1291. ifint $(RegLastError) == 0
  1292. ForListDo $(OOOOO00O0O)
  1293. set OOOO0000OO = $(!NTN_ServiceBase)"\"*($($),1)"\Parameters"
  1294. OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO)"\"$(OO00OO0OOO) $(OOO0O0O0OO) 0OOOO00O0O
  1295. ifstr(i) $(0OOOO00O0O) != $(0OO0O0O0OO)
  1296. CloseRegKey $(0OOOO00O0O)
  1297. OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) O0OOO00O0O
  1298. ifstr(i) $(O0OOO00O0O) != $(0OO0O0O0OO)
  1299. DeleteRegTree $(O0OOO00O0O) $(OO00OO0OOO)
  1300. CloseRegKey $(O0OOO00O0O)
  1301. endif
  1302. endif
  1303. EndForListDo
  1304. endif
  1305. endif
  1306. OpenRegKey $(!REG_H_LOCAL) "" $(OOO0OOO0OO)"\NetRules" $(OOO0O0O0OO) O00OOOOO0O
  1307. ifstr(i) $(O00OOOOO0O) != $(0OO0O0O0OO)
  1308. GetRegValue $(O00OOOOO0O) "InfName" 00OOO00O0O
  1309. ifint $(RegLastError) == 0
  1310. AddFileToDeleteList $(!STF_WINDOWSSYSPATH)"\"*($(00OOO00O0O),4)
  1311. endif
  1312. CloseRegKey $(O00OOOOO0O)
  1313. endif
  1314. OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0OO0OO) $(OOO0O0O0OO) OO0OO00O0O
  1315. ifstr(i) $(OO0OO00O0O) != $(0OO0O0O0OO)
  1316. SetRegValue $(OO0OO00O0O) {RefCount,$(0O00O0O0OO),$(!REG_VT_DWORD),0}
  1317. CloseRegKey $(OO0OO00O0O)
  1318. endif
  1319. Shell $(00O00OO0OO), RemoveSoftwareComponent, $(000OOO0OOO), $(0O00OO0OOO)
  1320. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  1321. endif
  1322. set O0000OO0OO = $($R0)
  1323. ifstr(i) $(O0000OO0OO) != NO_ERROR
  1324. endif
  1325. Shell $(00O00OO0OO), RemoveSoftwareComponent, $(000OOO0OOO), $(OO00OO0OOO)
  1326. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  1327. endif
  1328. set O0000OO0OO = $($R0)
  1329. ifstr(i) $(O0000OO0OO) != NO_ERROR
  1330. endif
  1331. Shell $(00O00OO0OO), RemoveSoftwareComponent, $(000OOO0OOO), $(00O0OO0OOO)
  1332. ifint $($ShellCode) != $(!SHELL_CODE_OK)
  1333. endif
  1334. set O0000OO0OO = $($R0)
  1335. ifstr(i) $(O0000OO0OO) != NO_ERROR
  1336. endif
  1337. Set OOOO0000OO = $(!NTN_SoftwareBase)"\"$(000OOO0OOO)
  1338. OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) 0O0OO00O0O
  1339. ifstr(i) $(0O0OO00O0O) != $(0OO0O0O0OO)
  1340. EnumRegKey $(0O0OO00O0O) O00OO00O0O
  1341. ifint $(RegLastError) == 0
  1342. ifstr $(O00OO00O0O) == {}
  1343. set 000OO00O0O = {}
  1344. EnumRegValue $(0O0OO00O0O) 000OO00O0O
  1345. ifstr $(000OO00O0O) == {}
  1346. DeleteRegTree $(!REG_H_LOCAL) $(OOOO0000OO)
  1347. endif
  1348. endif
  1349. endif
  1350. CloseRegKey $(0O0OO00O0O)
  1351. endif
  1352. return
  1353. [OOO0O000OO]
  1354. read-syms O00OOO0OOO
  1355. read-syms O0O00OO0OO
  1356. set O0OO00O0OO = STATUS_FAILED
  1357. OpenRegKey $(!REG_H_LOCAL) "" $(OOO0OOO0OO)"\NetRules" $(OOO0O0O0OO) O00OOOOO0O
  1358. ifstr(i) $(O00OOOOO0O) != $(0OO0O0O0OO)
  1359. GetRegValue $(O00OOOOO0O) "InfName" 00OOO00O0O
  1360. ifint $(RegLastError) == 0
  1361. CloseRegKey $(O00OOOOO0O)
  1362. set OOO0O00O0O = {}
  1363. OpenRegKey $(!REG_H_LOCAL) "" $(0O0O0OO0OO) $(OOO0O0O0OO) 0OO0O00O0O
  1364. ifstr(i) $(0OO0O00O0O) != $(0OO0O0O0OO)
  1365. GetRegValue $(0OO0O00O0O) "ReviewPrograms" 00O0O000OO
  1366. ifint $(RegLastError) == 0
  1367. ForListDo *($(00O0O000OO),4)
  1368. ifstr(i) $($) != *($(00OOO00O0O),4)
  1369. ifstr(i) $($) == "NBINFO.INF"
  1370. set OOO0O00O0O = >($(OOO0O00O0O),*($(00OOO00O0O),4))
  1371. endif
  1372. set OOO0O00O0O = >($(OOO0O00O0O), $($))
  1373. endif
  1374. EndForListDo
  1375. SetRegValue $(0OO0O00O0O) {ReviewPrograms,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),$(OOO0O00O0O)}
  1376. set O0OO00O0OO = STATUS_SUCCESSFUL
  1377. endif
  1378. CloseRegKey $(0OO0O00O0O)
  1379. else
  1380. endif
  1381. else
  1382. CloseRegKey $(O00OOOOO0O)
  1383. endif
  1384. else
  1385. endif
  1386. return $(O0OO00O0OO)
  1387. [00000O0O0O]
  1388. read-syms O00OOO0OOO
  1389. read-syms O0O00OO0OO
  1390. set O0OO00O0OO = STATUS_FAILED
  1391. OpenRegKey $(!REG_H_LOCAL) "" $(OOO0OOO0OO)"\NetRules" $(OOO0O0O0OO) O00OOOOO0O
  1392. ifstr(i) $(O00OOOOO0O) != $(0OO0O0O0OO)
  1393. GetRegValue $(O00OOOOO0O) "InfName" 00OOO00O0O
  1394. ifint $(RegLastError) == 0
  1395. CloseRegKey $(O00OOOOO0O)
  1396. set OOO0O00O0O = {}
  1397. OpenRegKey $(!REG_H_LOCAL) "" $(0O0O0OO0OO) $(OOO0O0O0OO) 0OO0O00O0O
  1398. Ifstr(i) $(0OO0O00O0O) != $(0OO0O0O0OO)
  1399. GetRegValue $(0OO0O00O0O) "ReviewPrograms" 00O0O000OO
  1400. ifint $(RegLastError) == 0
  1401. ForListDo *($(00O0O000OO),4)
  1402. ifstr(i) $($) != *($(00OOO00O0O),4)
  1403. set OOO0O00O0O = >($(OOO0O00O0O), $($))
  1404. endif
  1405. EndForListDo
  1406. SetRegValue $(0OO0O00O0O) {ReviewPrograms,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),$(OOO0O00O0O)}
  1407. set O0OO00O0OO = STATUS_SUCCESSFUL
  1408. endif
  1409. CloseRegKey $(0OO0O00O0O)
  1410. else
  1411. endif
  1412. else
  1413. CloseRegKey $(O00OOOOO0O)
  1414. endif
  1415. else
  1416. endif
  1417. return $(O0OO00O0OO)
  1418. [OO0OO000OO]
  1419. read-syms O00OOO0OOO
  1420. read-syms O0O00OO0OO
  1421. Shell "" 0O00O000OO
  1422. set O000O000OO = $($R0)
  1423. set O0O0O00O0O = {}
  1424. OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_SoftwareBase) $(OOO0O0O0OO) 00O0O00O0O
  1425. ifstr(i) $(00O0O00O0O) != $(0OO0O0O0OO)
  1426. set OO00O00O0O = {}
  1427. EnumRegKey $(00O0O00O0O) OO00O00O0O
  1428. ForListDo $(OO00O00O0O)
  1429. set 0O00O00O0O = *($($),1)
  1430. ForListDo $(O000O000OO)
  1431. set O000O00O0O = $(0OO0O0O0OO)
  1432. OpenRegKey $(00O0O00O0O) "" $(0O00O00O0O)"\"$($) $(OOO0O0O0OO) O000O00O0O
  1433. ifstr(i) $(O000O00O0O) != $(0OO0O0O0OO)
  1434. set 0000O00O0O = {}
  1435. ifstr(i) $($) == $(00O0OO0OOO)
  1436. goto OOOO000O0O
  1437. endif
  1438. ifstr(i) $($) == $(OO00OO0OOO)
  1439. goto OOOO000O0O
  1440. endif
  1441. ifstr(i) $($) == $(0O00OO0OOO)
  1442. goto OOOO000O0O
  1443. endif
  1444. OpenRegKey $(O000O00O0O) "" "CurrentVersion\NetRules" $(OOO0O0O0OO) O00OOOOO0O
  1445. ifstr(i) $(O00OOOOO0O) != $(0OO0O0O0OO)
  1446. GetRegValue $(O00OOOOO0O) "Class" 0OOO000O0O
  1447. ifint $(RegLastError) == 0
  1448. ForListDo *($(0OOO000O0O),4)
  1449. Split-String $($), " ", O0OO000O0O
  1450. set 00OO000O0O = 0
  1451. ForListDo $(O0OO000O0O)
  1452. ifstr $($) != " "
  1453. set-add 00OO000O0O = $(00OO000O0O),1
  1454. ifint $(00OO000O0O) == 1
  1455. set OO0O000O0O = $($)
  1456. else-ifint $(00OO000O0O) == 2
  1457. ifstr(i) $($) == netBiosTransport
  1458. set 0O0O000O0O = $(OO0O000O0O)" "$(O0OOO00OOO)" non non 100"
  1459. set O0O0O00O0O = >($(O0O0O00O0O), $(0O0O000O0O))
  1460. endif
  1461. endif
  1462. endif
  1463. EndForListDo
  1464. EndForListDo
  1465. endif
  1466. GetRegValue $(O00OOOOO0O) "Bindable" O00O000O0O
  1467. ifint $(RegLastError) == 0
  1468. ForListDo *($(O00O000O0O),4)
  1469. Split-String $($), " ", 000O000O0O
  1470. set 0O0O000O0O = $(0OO0O0O0OO)
  1471. set OOO0000O0O = 000OO0O0OO
  1472. set 0OO0000O0O = 000OO0O0OO
  1473. set 00OO000O0O = 0
  1474. ForListDo $(000O000O0O)
  1475. ifstr $($) == " "
  1476. set 0O0O000O0O = $(0O0O000O0O)$($)
  1477. else
  1478. set-add 00OO000O0O = $(00OO000O0O),1
  1479. ifint $(00OO000O0O) == 1
  1480. ifstr(i) $($) == ndisWanTransport
  1481. set 0OO0000O0O = O00OO0O0OO
  1482. endif
  1483. set 0O0O000O0O = $(0O0O000O0O)$($)
  1484. else-ifint $(00OO000O0O) == 2
  1485. ifstr(i) $($) == $(OO000O0OOO)
  1486. set O0O0000O0O = $(O0OOO00OOO)
  1487. set OOO0000O0O = O00OO0O0OO
  1488. else-ifstr(i) $($) == $(0O000O0OOO)
  1489. ifcontains(i) "NetBEUI" in $(O000O000OO)
  1490. set O0O0000O0O = $(00OOO00OOO)
  1491. set OOO0000O0O = O00OO0O0OO
  1492. endif
  1493. else-ifstr(i) $($) == $(O0000O0OOO)
  1494. ifcontains(i) "NetBEUI" in $(O000O000OO)
  1495. set O0O0000O0O = $(OO0OO00OOO)
  1496. set OOO0000O0O = O00OO0O0OO
  1497. endif
  1498. else-ifstr(i) $($) == $(00000O0OOO)
  1499. ifcontains(i) "Tcpip" in $(O000O000OO)
  1500. set O0O0000O0O = $(0O0OO00OOO)
  1501. set OOO0000O0O = O00OO0O0OO
  1502. endif
  1503. else-ifstr(i) $($) == $(OOOOO00OOO)
  1504. ifcontains(i) "Tcpip" in $(O000O000OO)
  1505. set O0O0000O0O = $(O00OO00OOO)
  1506. set OOO0000O0O = O00OO0O0OO
  1507. endif
  1508. else-ifstr(i) $($) == $(0OOOO00OOO)
  1509. ifcontains(i) "NwlnkIpx" in $(O000O000OO)
  1510. set O0O0000O0O = $(000OO00OOO)
  1511. set OOO0000O0O = O00OO0O0OO
  1512. endif
  1513. endif
  1514. set 0O0O000O0O = $(0O0O000O0O)$(O0O0000O0O)
  1515. else
  1516. set 0O0O000O0O = $(0O0O000O0O)$($)
  1517. endif
  1518. endif
  1519. EndForListDo 
  1520. ifstr $(OOO0000O0O) == O00OO0O0OO
  1521. ifstr $(0OO0000O0O) == 000OO0O0OO
  1522. set O0O0O00O0O = >($(O0O0O00O0O), $(0O0O000O0O))
  1523. endif
  1524. endif
  1525. EndForListDo 
  1526. endif
  1527. CloseRegKey $(O00OOOOO0O)
  1528. endif
  1529. CloseRegKey $(O000O00O0O)
  1530. endif
  1531. OOOO000O0O = +
  1532. EndForListDo 
  1533. EndForListDo 
  1534. CloseRegKey $(00O0O00O0O)
  1535. endif
  1536. return $(O0O0O00O0O)
  1537. [OOOO0O00OO]
  1538. read-syms O0O00OO0OO
  1539. read-syms O00OOO0OOO
  1540. OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(OOO0O0O0OO) 00O0000O0O
  1541. ifint $(RegLastError) != 0
  1542. return STATUS_FAILED
  1543. endif
  1544. GetRegValue $(00O0000O0O) CurrentVersion OO00000O0O
  1545. ifint $(RegLastError) != 0
  1546. CloseRegKey $(00O0000O0O)
  1547. return STATUS_FAILED
  1548. endif
  1549. GetRegValue $(00O0000O0O) CSDVersion 0O00000O0O
  1550. ifint $(RegLastError) != 0
  1551. CloseRegKey $(00O0000O0O)
  1552. return STATUS_FAILED
  1553. endif
  1554. CloseRegKey $(00O0000O0O)
  1555. Split-String *($(0O00000O0O),4) " ," O000000O0O
  1556. return STATUS_SUCCESS *($(OO00000O0O),4) *($(O000000O0O),5)
  1557. [0000000O0O]
  1558. read-syms O0O00OO0OO
  1559. read-syms O00OOO0OOO
  1560. OpenRegKey $(!REG_H_LOCAL) "" $($0) $(OOO0O0O0OO) OOOOOOO00O
  1561. ifstr(i) $(OOOOOOO00O) == $(0OO0O0O0OO)
  1562. return STATUS_FAILED
  1563. endif
  1564. GetRegValue $(OOOOOOO00O) "Bind" 0OOOOO0O0O
  1565. ifint $(RegLastError) != 0
  1566. CloseRegKey $(OOOOOOO00O)
  1567. return STATUS_FAILED
  1568. endif
  1569. OpenRegKey $(!REG_H_LOCAL) "" $(000O0OO0OO) $(OOO0O0O0OO) 0OOOOOOO0O
  1570. ifstr(i) $(0OOOOOOO0O) == $(0OO0O0O0OO)
  1571. CloseRegKey $(OOOOOOO00O)
  1572. return STATUS_FAILED
  1573. endif
  1574. EnumRegKey $(0OOOOOOO0O) OOOOOOOO0O
  1575. ifint $(RegLastError) != 0
  1576. CloseRegKey $(OOOOOOO00O)
  1577. return STATUS_FAILED
  1578. endif
  1579. set 0OOOOOO00O = {}
  1580. set O0OOOOO00O = $($1)
  1581. set 00OOOOO00O = {}
  1582. set OO0OOOO00O = \042\042\042\042\042\042\042\042
  1583. set O0OO0000OO = *($(0OOOOO0O0O),4)
  1584. ForListDo $(O0OO0000OO)
  1585. Split-String $($) "\" O0OOOO0O0O
  1586. set 00OOOO0O0O = $(!NTN_ServiceBase)"\"*($(O0OOOO0O0O),4)"\Parameters"
  1587. OpenRegKey $(!REG_H_LOCAL) "" $(00OOOO0O0O) $(OOO0O0O0OO) OO0OOO0O0O
  1588. ifstr $(OO0OOO0O0O) == $(0OO0O0O0OO)                        
  1589. else
  1590. GetRegValue $(OO0OOO0O0O) "SystemAdapter" 0OO0O0OO0O
  1591. ifint $(RegLastError) != 0
  1592. else
  1593. set 0O0OOOO00O = *($(0OO0O0OO0O),4)
  1594. set 0OOOOOO00O = >($(0OOOOOO00O),$(0O0OOOO00O))
  1595. Split-String $(0O0OOOO00O) "\" O00OOOO00O
  1596. set 000OOOO00O = *($(O00OOOO00O),4)
  1597. set OOO0OOO00O = $(0OO0O0O0OO)
  1598. ifstr(i) $($1) == "{}"
  1599. QueryListSize 0OO0OOO00O $(O00OOOO00O)
  1600. set O0O0OOO00O = $(0OO0O0O0OO)
  1601. ForListDo $(O00OOOO00O)
  1602. ifint $(#) == $(0OO0OOO00O)
  1603. set O0O0OOO00O = $(O0O0OOO00O)$($2)
  1604. endif
  1605. set O0O0OOO00O = $(O0O0OOO00O)$($)
  1606. EndForListDo
  1607. set O0OOOOO00O = >($(O0OOOOO00O),$(O0O0OOO00O))
  1608. endif
  1609. ForListDo $(OOOOOOOO0O)
  1610. OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(OOO0O0O0OO) 00O0OOO00O
  1611. ifstr(i) $(00O0OOO00O) != $(0OO0O0O0OO)
  1612. GetRegValue $(00O0OOO00O) "ServiceName" OO00OOO00O
  1613. ifint $(RegLastError) == 0
  1614. ifstr $(000OOOO00O) == *($(OO00OOO00O),4)
  1615. GetRegValue $(00O0OOO00O) "SoftwareName" OOO0OOO00O
  1616. ifint $(RegLastError) == 0
  1617. set OOOO0000OO = $(!NTN_ServiceBase)"\"*($(OOO0OOO00O),4)
  1618. OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) O0O0OO0O0O
  1619. ifstr(i) $(O0O0OO0O0O) == $(0OO0O0O0OO)
  1620. set OOO0OOO00O = $(0OO0O0O0OO)
  1621. else
  1622. CloseRegKey $(O0O0OO0O0O)
  1623. endif
  1624. endif
  1625. endif
  1626. endif
  1627. CloseRegKey $(00O0OOO00O)
  1628. endif
  1629. EndForListDo
  1630. ifstr $(OOO0OOO00O) == $(0OO0O0O0OO)
  1631. set 0O00OOO00O = $(OO0OOOO00O)$(000OOOO00O)$(OO0OOOO00O)
  1632. else
  1633. set 0O00OOO00O = $(OO0OOOO00O)*($(OOO0OOO00O),4)$(OO0OOOO00O)" "$(OO0OOOO00O)$(000OOOO00O)$(OO0OOOO00O)
  1634. endif
  1635. set 00OOOOO00O = >($(00OOOOO00O),$(0O00OOO00O))
  1636. endif
  1637. CloseRegKey $(OO0OOO0O0O)
  1638. endif
  1639. EndForListDo
  1640. set-subst 00000O00OO = {{Bind,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),$(0OOOOOO00O)},+
  1641. {Export,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),$(O0OOOOO00O)},+
  1642. {Route,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),$(00OOOOO00O)}}
  1643. Shell $(00O00OO0OO) AddValueList $(OOOOOOO00O) $(00000O00OO)
  1644. CloseRegKey $(0OOOOOOO0O)
  1645. CloseRegKey $(OOOOOOO00O)
  1646. return STATUS_SUCCESS
  1647. [0OO0OO0O0O]
  1648. read-syms O0O00OO0OO
  1649. read-syms O00OOO0OOO
  1650. OpenRegKey $(!REG_H_LOCAL) "" $(00OO0OO0OO) $(OOO0O0O0OO) O000OOO00O
  1651. ifstr $(O000OOO00O) != $(0OO0O0O0OO)
  1652. GetRegValue $(O000OOO00O) "Bind" 0OOOOO0O0O
  1653. QueryListSize 0000OOO00O *($(0OOOOO0O0O),4)
  1654. ifint $(RegLastError) == 0
  1655. ForListDo *($(0OOOOO0O0O),4)
  1656. Split-String $($) "\_" O0OOOO0O0O
  1657. QueryListSize OOOO0OO00O $(O0OOOO0O0O)
  1658. set 00O0OO0O0O = $(!NTN_ServiceBase)"\"*($(O0OOOO0O0O),$(OOOO0OO00O))"\Parameters"
  1659. OpenRegKey $(!REG_H_LOCAL) "" $(00O0OO0O0O) $(OOO0O0O0OO) 0OOO0OO00O
  1660. ifstr $(0OOO0OO00O) != $(0OO0O0O0OO)
  1661. GetRegValue $(0OOO0OO00O) "SystemAdapter" 0O00OO0O0O
  1662. ifint $(RegLastError) == 0
  1663. set O000OO0O0O = *($(0O00OO0O0O),4)
  1664. Split-String $(O000OO0O0O) "\_" 0000OO0O0O
  1665. QueryListSize OOOO0O0O0O $(0000OO0O0O)
  1666. set 0OOO0O0O0O = $(!NTN_ServiceBase)"\"*($(0000OO0O0O),$(OOOO0O0O0O))"\Parameters\Tcpip"
  1667. set O0OO0OO00O = 0
  1668. OpenRegKey $(!REG_H_LOCAL) "" $(0OOO0O0O0O) $(OOO0O0O0OO) O0OO0O0O0O
  1669. ifstr $(O0OO0O0O0O) == $(0OO0O0O0OO)
  1670. CreateRegKey $(!REG_H_LOCAL) {$(0OOO0O0O0O),$(0O00O0O0OO),GenericClass} "" $(OOO0O0O0OO) "" O0OO0O0O0O
  1671. set O0OO0OO00O = 1
  1672. endif
  1673. ifstr $(O0OO0O0O0O) != $(0OO0O0O0OO)
  1674. SetRegValue $(O0OO0O0O0O) {IpInterfaceContext,$(0O00O0O0OO),$(!REG_VT_DWORD),$(0000OOO00O)}
  1675. SetRegValue $(O0OO0O0O0O) {IpInterfaceContextMax,$(0O00O0O0OO),$(!REG_VT_DWORD),$(0000OOO00O)}
  1676. OpenRegKey $(0OOO0OO00O) "" "Tcpip" $(OOO0O0O0OO) OO00OO0O0O
  1677. ifstr $(OO00OO0O0O) != $(0OO0O0O0OO)
  1678. ifint $(O0OO0OO00O) == 1
  1679. Shell "", OOOOO0OO0O, $(OO00OO0O0O), $(O0OO0O0O0O)
  1680. endif
  1681. SetRegValue $(OO00OO0O0O) {IpInterfaceContext,$(0O00O0O0OO),$(!REG_VT_DWORD),$(0000OOO00O)}
  1682. SetRegValue $(OO00OO0O0O) {IpInterfaceContextMax,$(0O00O0O0OO),$(!REG_VT_DWORD),$(0000OOO00O)}
  1683. CloseRegKey $(OO00OO0O0O)
  1684. endif
  1685. CloseRegKey $(O0OO0O0O0O)
  1686. endif
  1687. endif
  1688. CloseRegKey $(0OOO0OO00O)
  1689. endif
  1690. set-sub 0000OOO00O = $(0000OOO00O),1
  1691. EndForListDo
  1692. endif
  1693. CloseRegKey $(O000OOO00O)
  1694. endif
  1695. return
  1696. [0O00O000OO]
  1697. return {Tcpip,NdisWan,NetBT}
  1698. [0000O0OO0O]
  1699. read-syms O0O00OO0OO
  1700. read-syms O00OOO0OOO
  1701. Shell "" OOOO00OO0O
  1702. ForListDo $($R0)
  1703. Shell "" 00OO0OO00O $($)
  1704. ifint $($R0) != 0
  1705. set OO0O0OO00O = $($R0)
  1706. set OOOO0000OO = $(!NTN_ServiceBase)"\"$($)"\Parameters"
  1707. OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) 000OO0OO0O
  1708. ifstr $(000OO0OO0O) == $(0OO0O0O0OO)
  1709. else
  1710. GetRegValue $(000OO0OO0O) "SystemAdapter" 0O00OO0O0O
  1711. ifint $(RegLastError) != 0
  1712. else
  1713. set O000OO0O0O = *($(0O00OO0O0O),4)
  1714. Split-String $(O000OO0O0O) "\_" 0000OO0O0O
  1715. QueryListSize OOOO0O0O0O $(0000OO0O0O)
  1716. set 0O0O0OO00O = *($(0000OO0O0O),$(OOOO0O0O0O))
  1717. Shell "" 00OO0OO00O $(0O0O0OO00O)
  1718. ifint $($R0) != 0
  1719. set O00O0OO00O = $($R0)
  1720. Shell "" 000O0OO00O $(O00O0OO00O) $(OO0O0OO00O)
  1721. set OOO00OO00O = $($R0)
  1722. Shell "" 0OO00OO00O $(OOO00OO00O) $(O00O0OO00O)
  1723. ifstr $($R0) == O00OO0O0OO
  1724. ifint $(OOO00OO00O) != $(OO0O0OO00O)
  1725. Shell "" O0O00OO00O $(O00O0OO00O) $(OOO00OO00O) 0 0
  1726. Shell "" O0O00OO00O $(OO0O0OO00O) $(O00O0OO00O) $(O00O0OO00O) $(OOO00OO00O)
  1727. DeleteRegTree $(!REG_H_LOCAL) $(000O0OO0OO)"\"$(OO0O0OO00O)
  1728. DeleteRegTree $(!REG_H_LOCAL) $(!NTN_ServiceBase)"\NdisWan"$(OO0O0OO00O)
  1729. else
  1730. Shell "" O0O00OO00O $(O00O0OO00O) 0 0 0
  1731. Shell "" O0O00OO00O $(OO0O0OO00O) $(O00O0OO00O) $(O00O0OO00O) $(OOO00OO00O)
  1732. Shell "" O0O00OO00O 0 $(OOO00OO00O) 0 0
  1733. DeleteRegTree $(!REG_H_LOCAL) $(000O0OO0OO)"\0"
  1734. DeleteRegTree $(!REG_H_LOCAL) $(!NTN_ServiceBase)"\NdisWan0"
  1735. endif
  1736. endif
  1737. endif
  1738. endif
  1739. CloseRegKey $(000OO0OO0O)
  1740. endif
  1741. endif
  1742. EndForListDo
  1743. return
  1744. [O0O00OO00O]
  1745. read-syms O0O00OO0OO
  1746. read-syms O00OOO0OOO
  1747. OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\NdisWan"$($0) $(OOO0O0O0OO) 00O00OO00O
  1748. ifstr $(00O00OO00O) != $(0OO0O0O0OO)
  1749. DeleteRegTree $(!REG_H_LOCAL) $(!NTN_ServiceBase)"\NdisWan"$($1)
  1750. CreateRegKey $(!REG_H_LOCAL) {$(!NTN_ServiceBase)"\NdisWan"$($1),$(0O00O0O0OO),GenericClass} "" $(OOO0O0O0OO) "" OO000OO00O
  1751. ifstr $(OO000OO00O) != $(0OO0O0O0OO)
  1752. OpenRegKey $(!REG_H_LOCAL) "" $(000O0OO0OO)"\"$($0) $(OOO0O0O0OO) 0O000OO00O
  1753. ifstr $(0O000OO00O) != $(0OO0O0O0OO)
  1754. DeleteRegTree $(!REG_H_LOCAL) $(000O0OO0OO)"\"$($1)
  1755. CreateRegKey $(!REG_H_LOCAL) {$(000O0OO0OO)"\"$($1),$(0O00O0O0OO),GenericClass} "" $(OOO0O0O0OO) "" O0000OO00O
  1756. ifstr $(O0000OO00O) != $(0OO0O0O0OO)
  1757. Shell "" OOOOO0OO0O $(00O00OO00O) $(OO000OO00O)
  1758. OpenRegKey $(OO000OO00O) "" "Linkage" $(OOO0O0O0OO) 00OO00OO0O
  1759. ifstr $(00OO00OO0O) == $(0OO0O0O0OO)
  1760. CreateRegKey $(OO000OO00O) {"Linkage",$(0O00O0O0OO),GenericClass} "" $(OOO0O0O0OO) "" 00OO00OO0O
  1761. ifstr $(00OO00OO0O) != $(0OO0O0O0OO)
  1762. CreateRegKey $(OO000OO00O) {"Disabled",$(0O00O0O0OO),GenericClass} "" $(OOO0O0O0OO) "" 00000OO00O
  1763. ifstr $(00000OO00O) != $(0OO0O0O0OO)
  1764. CloseRegKey $(00000OO00O)
  1765. endif
  1766. endif
  1767. endif
  1768. ifstr $(00OO00OO0O) != $(0OO0O0O0OO)
  1769. set OO0OOOO00O = \042\042\042\042\042\042\042\042
  1770. set-subst 00000O00OO = {{Bind,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),{"\Device\NdisWan"$($1)}},+
  1771. {Export,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),{"\Device\NdisWan"$($1)}},+
  1772. {Route,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),{$(OO0OOOO00O)"NdisWan"$($1)$(OO0OOOO00O)}}}
  1773. Shell $(00O00OO0OO) AddValueList $(00OO00OO0O) $(00000O00OO)
  1774. CloseRegKey $(00OO00OO0O)
  1775. endif
  1776. OpenRegKey $(OO000OO00O) "" "Parameters" $(OOO0O0O0OO) 000OO0OO0O
  1777. ifstr $(000OO0OO0O) != $(0OO0O0O0OO)
  1778. ifint $($2) == 0
  1779. DeleteRegTree $(000OO0OO0O) DNESignature
  1780. DeleteRegValue $(000OO0OO0O) "SourceParameters"
  1781. else
  1782. set 00000O00OO = {{InstanceNumber,$(0O00O0O0OO),$(!REG_VT_DWORD),$($2)},+
  1783. {SystemAdapter,$(0O00O0O0OO),$(!REG_VT_SZ),"\Device\NdisWan"$($3)}}
  1784. Shell $(00O00OO0OO) AddValueList $(000OO0OO0O) $(00000O00OO)
  1785. GetRegValue $(000OO0OO0O) "SourceParameters" OOOOO0O00O
  1786. ifint $(RegLastError) == 0
  1787. set OOOO0000OO = $(!NTN_ServiceBase)"\NdisWan"$($3)"\Parameters"
  1788. SetRegValue $(000OO0OO0O) {SourceParameters,$(0O00O0O0OO),$(!REG_VT_SZ),$(OOOO0000OO)}
  1789. endif 
  1790. OpenRegKey $(000OO0OO0O) "" $(OO00OO0OOO) $(OOO0O0O0OO) 0OOOO0O00O
  1791. ifstr $(0OOOO0O00O) != $(0OO0O0O0OO)
  1792. set 00000O00OO = {{AdapterNumber,$(0O00O0O0OO),$(!REG_VT_SZ),$($2)},+
  1793. {Device,$(0O00O0O0OO),$(!REG_VT_SZ),"NdisWan"$($3)},+
  1794. {InstanceNumber,$(0O00O0O0OO),$(!REG_VT_DWORD),$($2)}}
  1795. Shell $(00O00OO0OO) AddValueList $(0OOOO0O00O) $(00000O00OO)
  1796. CloseRegKey $(0OOOO0O00O)
  1797. endif
  1798. endif
  1799. CloseRegKey $(000OO0OO0O)
  1800. endif
  1801. Shell "" OOOOO0OO0O $(0O000OO00O) $(O0000OO00O)
  1802. SetRegValue $(O0000OO00O) {ServiceName,$(0O00O0O0OO),$(!REG_VT_SZ),"NdisWan"$($1)}
  1803. GetRegValue $(O0000OO00O) "Title" O0OO0OOO0O
  1804. ifint $(RegLastError) == 0
  1805. Split-String *($(O0OO0OOO0O),4) "[]" O0OOO0O00O
  1806. set 00OOO0O00O = 0
  1807. set OO0OO0O00O = $(0OO0O0O0OO)
  1808. ForListDo $(O0OOO0O00O)
  1809. ifstr $($) == "["
  1810. set OO0OO0O00O = $(OO0OO0O00O)$($)
  1811. set-add 00OOO0O00O = $(00OOO0O00O),1
  1812. else-ifint $(00OOO0O00O) == 1
  1813. set OO0OO0O00O = $(OO0OO0O00O)$($1)
  1814. set-add 00OOO0O00O = $(00OOO0O00O),1
  1815. else-ifint $(00OOO0O00O) == 3
  1816. set OO0OO0O00O = $(OO0OO0O00O)$($3)
  1817. set-add 00OOO0O00O = $(00OOO0O00O),1
  1818. else
  1819. set OO0OO0O00O = $(OO0OO0O00O)$($)
  1820. endif
  1821. EndForListDo
  1822. SetRegValue $(O0000OO00O) {Title,$(0O00O0O0OO),$(!REG_VT_SZ),$(OO0OO0O00O)}
  1823. endif
  1824. OpenRegKey $(O0000OO00O) "" "NetRules" $(OOO0O0O0OO) 0O0OO0O00O
  1825. ifstr $(0O0OO0O00O) != $(0OO0O0O0OO)
  1826. set OO0OOOO00O = \042\042
  1827. set-subst O00OO0O00O = {bindform,$(0O00O0O0OO),$(!REG_VT_SZ),$(OO0OOOO00O)NdisWan$($1)$(OO0OOOO00O)" yes yes container"}
  1828. SetRegValue $(0O0OO0O00O) $(O00OO0O00O)
  1829. CloseRegKey $(0O0OO0O00O)
  1830. endif
  1831. CloseRegKey $(O0000OO00O)
  1832. endif
  1833. CloseRegKey $(0O000OO00O)
  1834. endif
  1835. CloseRegKey $(OO000OO00O)
  1836. endif
  1837. CloseRegKey $(00O00OO00O)
  1838. endif
  1839. return
  1840. [000O0OO00O]
  1841. read-syms O0O00OO0OO
  1842. read-syms O00OOO0OOO
  1843. Shell "" 0OO00OO00O $($1) $($0)
  1844. ifstr $($R0) == O00OO0O0OO
  1845. set 000OO0O00O = $($1)
  1846. else
  1847. set 000OO0O00O = $($0)
  1848. endif
  1849. set OOO0O0O00O = 0
  1850. set 0OO0O0O00O = 0
  1851. OpenRegKey $(!REG_H_LOCAL) "" $(000O0OO0OO) $(OOO0O0O0OO) 0OOOOOOO0O
  1852. ifstr(i) $(0OOOOOOO0O) != $(0OO0O0O0OO)
  1853. OpenRegKey $(0OOOOOOO0O) "" $($0) $(OOO0O0O0OO) O0O0O0O00O
  1854. ifint $(RegLastError) == 0
  1855. GetRegValue $(O0O0O0O00O) "ProductName" OO0OOOOO0O
  1856. ifint $(RegLastError) == 0
  1857. set OOO0OOO00O = *($(OO0OOOOO0O),4)
  1858. EnumRegKey $(0OOOOOOO0O) OOOO0OOO0O
  1859. ifint $(RegLastError) == 0
  1860. ForListDo $(OOOO0OOO0O)
  1861. ifint $(0OO0O0O00O) < *($($),1)
  1862. set 0OO0O0O00O = *($($),1)
  1863. endif
  1864. OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(OOO0O0O0OO) 0OOO0OOO0O
  1865. ifstr(i) $(0OOO0OOO0O) == $(0OO0O0O0OO)
  1866. else
  1867. GetRegValue $(0OOO0OOO0O) "ProductName" OO0OOOOO0O
  1868. ifint $(RegLastError) != 0
  1869. else
  1870. ifstr *($(OO0OOOOO0O),4) == $(OOO0OOO00O)
  1871. GetRegValue $(0OOO0OOO0O) "SoftwareName" 00O0O0O00O
  1872. ifint $(RegLastError) != 0
  1873. else
  1874. Shell "" 0OO00OO00O *($($),1) $(OOO0O0O00O)
  1875. ifstr $($R0) == O00OO0O0OO
  1876. set OOO0O0O00O = *($($),1)
  1877. endif
  1878. endif
  1879. endif
  1880. endif
  1881. CloseRegKey $(0OOO0OOO0O)
  1882. endif
  1883. EndForListDo
  1884. endif
  1885. endif
  1886. CloseRegKey $(O0O0O0O00O)
  1887. endif
  1888. CloseRegKey $(0OOOOOOO0O)
  1889. endif
  1890. OO00O0O00O = +
  1891. Shell "" 0OO00OO00O $(OOO0O0O00O) $(000OO0O00O)
  1892. ifstr $($R0) == O00OO0O0OO
  1893. ifint $(000OO0O00O) < $(0OO0O0O00O)
  1894. set-add 000OO0O00O = $(0OO0O0O00O),1
  1895. else
  1896. set-add 000OO0O00O = $(000OO0O00O),1
  1897. endif
  1898. goto OO00O0O00O
  1899. endif
  1900. return $(000OO0O00O) $(OOO0O0O00O) $(0OO0O0O00O)
  1901. [00OO0OO00O]
  1902. read-syms O0O00OO0OO
  1903. read-syms O00OOO0OOO
  1904. Split-String $($0) "0123456789" 0O00O0O00O
  1905. set O000O0O00O = 0
  1906. ifstr(i) *($(0O00O0O00O),1) == "NdisWan"
  1907. ForListDo $(0O00O0O00O) 
  1908. ifint $(#) > 1
  1909. set-mul O000O0O00O = $(O000O0O00O),10
  1910. set-add O000O0O00O = $(O000O0O00O),$($)
  1911. endif
  1912. EndForListDo
  1913. endif
  1914. return $(O000O0O00O)
  1915. [0OO00OO00O]
  1916. Split-String $($0) $($0) 0000O0O00O
  1917. QueryListSize OOOO00O00O $(0000O0O00O)
  1918. Split-String $($1) $($1) 0OOO00O00O
  1919. QueryListSize O0OO00O00O $(0OOO00O00O)
  1920. ifint *($(0000O0O00O),1) == *($(0OOO00O00O),1)
  1921. ifint $(OOOO00O00O) > $(O0OO00O00O)
  1922. set 00OO00O00O = O00OO0O0OO
  1923. else-ifint $(OOOO00O00O) < $(O0OO00O00O)
  1924. set 00OO00O00O = 000OO0O0OO
  1925. else
  1926. ifint *($(0000O0O00O),2) > *($(0OOO00O00O),2)
  1927. set 00OO00O00O = O00OO0O0OO
  1928. else
  1929. set 00OO00O00O = 000OO0O0OO
  1930. endif
  1931. endif
  1932. else-ifint *($(0000O0O00O),1) > *($(0OOO00O00O),1)
  1933. set 00OO00O00O = O00OO0O0OO
  1934. else
  1935. set 00OO00O00O = 000OO0O0OO
  1936. endif
  1937. return $(00OO00O00O)
  1938. [OO0O00OO0O]
  1939. set OO0O00O00O = $($0)
  1940. set 00OO00OO0O = $($1)
  1941. set 0OOO00OO0O = $($2)
  1942. set O0OO00OO0O = $($3)
  1943. set 0O0O00O00O = $($4)
  1944. read-syms O0O00OO0OO
  1945. read-syms O00OOO0OOO
  1946. GetRegValue $(00OO00OO0O) "Bind"   0OOOOO0O0O
  1947. GetRegValue $(00OO00OO0O) "Export" O00O00O00O
  1948. GetRegValue $(00OO00OO0O) "Route"  000O00O00O
  1949. set 0O0O0000OO = 0
  1950. QueryListSize 0O0O0000OO $(0OOOOO0O0O)
  1951. ifint $(0O0O0000OO) != 4
  1952. goto OOO000O00O
  1953. endif
  1954. set 0O0O0000OO = 0
  1955. QueryListSize 0O0O0000OO *($(0OOOOO0O0O),4)
  1956. ifint $(0O0O0000OO) < 1
  1957. goto OOO000O00O
  1958. endif
  1959. set 0OO000O00O = {}
  1960. set O0O000O00O = {}
  1961. set 00O000O00O = {}    
  1962. set OO0000O00O = $(000OO0O0OO)
  1963. ForListDo *($(0OOOOO0O0O),4)
  1964. Split-String $($) "\_" O0OOOO0O0O
  1965. QueryListSize 0O0000O00O $(O0OOOO0O0O)
  1966. set O00000O00O = *($(O0OOOO0O0O),$(0O0000O00O))
  1967. ifcontains(i) $(O00000O00O) in $(0OOO00OO0O)
  1968. set OO0000O00O = $(O00OO0O0OO)
  1969. endif
  1970. EndForListDo
  1971. ifint $(0O0O00O00O) == $(O00OO0O0OO)
  1972. ifint $(OO0000O00O) == $(000OO0O0OO)
  1973. goto OOO000O00O
  1974. endif
  1975. endif
  1976. ForListDo *($(0OOOOO0O0O),4)
  1977. Split-String $($) "\_" O0OOOO0O0O
  1978. QueryListSize 0O0000O00O $(O0OOOO0O0O)
  1979. set O00000O00O = *($(O0OOOO0O0O),$(0O0000O00O))
  1980. ifint $(0O0O00O00O) == $(O00OO0O0OO)
  1981. ifcontains(i) $(O00000O00O) in $(0OOO00OO0O)
  1982. set 0OO000O00O = >($(0OO000O00O), $($))
  1983. set O0O000O00O = >($(O0O000O00O), *(*($(O00O00O00O),4),$(#)))
  1984. set 00O000O00O = >($(00O000O00O), *(*($(000O00O00O),4),$(#)))
  1985. else
  1986. ifcontains(i) $(O00000O00O) not-in $(O0OO00OO0O)
  1987. endif
  1988. endif
  1989. else
  1990. ifcontains(i) $(O00000O00O) not-in $(0OOO00OO0O)
  1991. set 0OO000O00O = >($(0OO000O00O), $($))
  1992. set O0O000O00O = >($(O0O000O00O), *(*($(O00O00O00O),4),$(#)))
  1993. set 00O000O00O = >($(00O000O00O), *(*($(000O00O00O),4),$(#)))
  1994. endif
  1995. endif
  1996. EndForListDo
  1997. set 000000O00O =   {*($(0OOOOO0O0O),1),+
  1998. *($(0OOOOO0O0O),2),+
  1999. *($(0OOOOO0O0O),3),+
  2000. $(0OO000O00O)}
  2001. set OOOOOO000O = {*($(O00O00O00O),1), +
  2002. *($(O00O00O00O),2), +
  2003. *($(O00O00O00O),3), +
  2004. $(O0O000O00O)}
  2005. set 0OOOOO000O =  {*($(000O00O00O),1), +
  2006. *($(000O00O00O),2), +
  2007. *($(000O00O00O),3), +
  2008. $(00O000O00O)}
  2009. SetRegValue $(00OO00OO0O) $(000000O00O)
  2010. SetRegValue $(00OO00OO0O) $(OOOOOO000O)
  2011. SetRegValue $(00OO00OO0O) $(0OOOOO000O)
  2012. OOO000O00O = +
  2013. return $(O00OO0O0OO)
  2014. [Install-Option]
  2015. set STF_VITAL = ""
  2016. ifstr(i) $(O00000O0OO) == "YES"
  2017. AddSectionFilesToCopyList O0OOOO000O-$(OO0000O0OO) $(0O0000O0OO) $(!STF_WINDOWSSYSPATH)\drivers
  2018. endif
  2019. ifstr(i) $(000000O0OO) == "YES"
  2020. set !STF_NCP_FLUSH_COPYLIST = TRUE
  2021. CopyFilesInCopyList
  2022. endif
  2023. ifstr(i) $(OOOOOO00OO) == "YES"
  2024. endif
  2025. exit
  2026. [Source Media Descriptions]
  2027. 1 = "DNE Disk", TAGFILE = Disk1
  2028. [O0OOOO000O-DNE]
  2029. 1, dne.sys, OVERWRITE=ALWAYS
  2030. [O0OOOO000O-Inf]
  2031. 1, oemsetnt.inf, OVERWRITE=ALWAYS, RENAME=$(!UG_Filename)
  2032. [0OOOOO00OOENG]
  2033. Help = "&Help"
  2034. Exit = "Cancel"
  2035. OK = "OK"
  2036. HelpContext = ""
  2037. Continue = "Continue"
  2038. Cancel = "Cancel"
  2039. [O00OOO0OOOENG]
  2040. O0OOOO00OO = "Deterministic Network Enhancer Setup"
  2041. 00OOOO000O = "Deterministic Network Enhancer"
  2042. OO0OOO000O = "The Deterministic Networks Network Enhancer."
  2043. 0OOOO000OO = "Deterministic Network Enhancer"
  2044. OOO00O00OO = "Deterministic Network Enhancer"
  2045. OOOOO000OO = "Deterministic Network Enhancer"
  2046. 00OOO000OO = "Deterministic Network Enhancer Transport"
  2047. O0OOO000OO = "Deterministic Network Enhancer Transport"
  2048. OO00OO00OO = "Deterministic Network Enhancer Transport"
  2049. 000OO000OO = "Deterministic Network Enhancer Adapter Shim"
  2050. 0O0OO000OO = "Deterministic Network Enhancer Adapter Shim"
  2051. O00OO000OO = "Deterministic Network Enhancer Adapter Shim"
  2052. 000O0OOO0O = "DNE"
  2053. OOO00OOO0O = "Deterministic Network Enhancer Virtual Adapter"
  2054. 0O0OOO000O = "Deterministic Network Enhancer Virtual Adapter"
  2055. O00OOO000O = "Error: "$(O0OOOO00OO)
  2056. 000OOO000O = "Shell Code Error."
  2057. 0O00OO00OO = "is already installed."
  2058. 00OO0O00OO = "requires NT 4.0 and Service Pack 3."
  2059. [OO0O0O00OOENG]
  2060. 0O0O0O00OO = "Installing the Deterministic Network Enhancer"
  2061. [O0O000O0OOENG]
  2062. DNE = "Deterministic Network Enhancer"
  2063.